You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by GitBox <gi...@apache.org> on 2021/03/24 22:34:38 UTC
[GitHub] [mina-sshd] tomaswolf opened a new pull request #187: [SSHD-1147] SftpInputStreamAsync: get file size before SSH_FXP_OPEN
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org
[GitHub] [mina-sshd] gnodet commented on pull request #187: [SSHD-1147] SftpInputStreamAsync: get file size before SSH_FXP_OPEN
Posted by GitBox <gi...@apache.org>.
gnodet commented on pull request #187:
URL: https://github.com/apache/mina-sshd/pull/187#issuecomment-806483693
Looks good to me.
--
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org
[GitHub] [mina-sshd] tomaswolf merged pull request #187: [SSHD-1147] SftpInputStreamAsync: get file size before SSH_FXP_OPEN
Posted by GitBox <gi...@apache.org>.
tomaswolf merged pull request #187:
URL: https://github.com/apache/mina-sshd/pull/187
--
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org