tomaswolf opened a new pull request #187: URL: https://github.com/apache/mina-sshd/pull/187
IBM's Sterling B2B SFTP connector may limit some files to be downloaded only once. The mechanism they use assumes that once a file has been opened, it'll be read and closed without any other SFTP requests being made on the same handle in between. Get the file size via SSH_FXP_STAT before opening the file instead of using SSH_FXP_FSTAT on the handle obtained from opening the file. That way it should be possible to download such files from such an off-spec SFTP server. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
