BusinessConnect retrieves a file size as zero bytes from an SSHFTP server even though the file size on the server is greater than zero bytes.
book
Article ID: KB0089635
calendar_today
Updated On:
Products
Versions
TIBCO BusinessConnect
-
Not Applicable
-
Description
Resolution: Description: =========== When BusinessConnect (BC) is connecting to an SSHFTP server and attempts to retrieve a file from the server, BC fails to retrieve the file contents and reports the file size as zero bytes.
Environment: ============ BusinessConnect all versions up to and including 5.3.3 hotfix1
Symptoms: ========= BC processes the ftp “get” correctly, but the sftp server returns zero bytes for the fstat command. Because of this, you may see the payload size as zero bytes in BC.
Cause: ====== This issue is occurring because of the faulty SSH FTP server implementation. For the stat and fstat commands, the sftp server is returning different file sizes. For the fstat command, the sftp server is returning zero bytes and for the stat command the sftp server is returning correct byte count for the same file at the same time.
Resolution: =========== The sftp server admin has to correct the sftp server implementation so that sftp server returns the correct file size for the fstat command.
BC 5.3.3 hotfix 2 or later incorporates a fix for this issue.
Issue/Introduction
BusinessConnect retrieves a file size as zero bytes from an SSHFTP server even though the file size on the server is greater than zero bytes.