[ 
https://issues.apache.org/jira/browse/SSHD-1207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17394575#comment-17394575
 ] 

Lyor Goldstein edited comment on SSHD-1207 at 8/6/21, 7:21 AM:
---------------------------------------------------------------

This seems similar to some issues we fixed in the past, but I cannot remember 
how they were fixed and/or maybe reverted - will take some time to locate these 
changes... Might be related to SSHD-1196 and SSHD-1123 (see links to them). 
Since SSHD-1196 has been incorporated into the master branch you can try using 
it by setting the {{SftpModuleProperties#CHUNK_IF_WINDOW_LESS_THAN_PACKET}} 
property value to _true_


was (Author: lgoldstein):
This seems similar to some issues we fixed in the past, but I cannot remember 
how they were fixed and/or maybe reverted - will take some time to locate these 
changes... Might be related to SSHD-1196 and SSHD-1123 (see links to them).

> Large file get using WinSCP with Apache SFTP Server is not working
> ------------------------------------------------------------------
>
>                 Key: SSHD-1207
>                 URL: https://issues.apache.org/jira/browse/SSHD-1207
>             Project: MINA SSHD
>          Issue Type: Bug
>            Reporter: Sreedhar J
>            Priority: Major
>         Attachments: largefile_issue.png, sshdnativelogs.log
>
>
> We have been using Apache SSHD version 2.5.1 for SFTP Server functionaity and 
> it was working very well with all the sftp clients.   Recently we have 
> upgraded  2.7.0   and facing issues with largefile downloads using WinSCP.  
> Entire file is not getting downloaded. Some time with out downloading the 
> entire file WinSCP is showing the transfer as complete.   In the Apache SSHD 
> logs, I see many EOF status messages to the client.  Not sure  why so many 
> EOF messages are exchanged between the client and Server.
> 04 Aug 2021 21:38:10,841 [sshd-SftpSubsystem-46473-thread-1] DEBUG 
> Nio2Session  - writeBuffer(Nio2Session[local=/10.15.102.66:59119, 
> remote=10.84.42.167/10.84.42.167:59334]) writing 16448 bytes
> 04 Aug 2021 21:38:10,842 [sshd-SftpSubsystem-46473-thread-1] DEBUG 
> SftpSubsystem  - 
> process(ServerSessionImpl[testuser1@10.84.42.167/10.84.42.167:59334])[length=53,
>  type=SSH_FXP_READ, id=4884997] processing
> 04 Aug 2021 21:38:10,842 [sshd-SshServer[6ad1bbb8](port=59119)-nio2-thread-1] 
> DEBUG ServerSessionImpl  - 
> encode(ServerSessionImpl[testuser1@10.84.42.167/10.84.42.167:59334]) packet 
> #149 sending command=94[SSH_MSG_CHANNEL_DATA] len=10734
> 04 Aug 2021 21:38:10,842 [sshd-SftpSubsystem-46473-thread-1] DEBUG 
> SftpSubsystem  - 
> doSendStatus(ServerSessionImpl[testuser1@10.84.42.167/10.84.42.167:59334])[id=4884997]
>  SSH_FXP_STATUS (substatus=SSH_FX_EOF, lang=, msg=End of file)
> 04 Aug 2021 21:38:10,842 [sshd-SftpSubsystem-46473-thread-1] DEBUG 
> SftpSubsystem  - 
> process(ServerSessionImpl[testuser1@10.84.42.167/10.84.42.167:59334])[length=53,
>  type=SSH_FXP_READ, id=4885253] processing
> 04 Aug 2021 21:38:10,842 [sshd-SftpSubsystem-46473-thread-1] DEBUG 
> SftpSubsystem  - 
> doSendStatus(ServerSessionImpl[testuser1@10.84.42.167/10.84.42.167:59334])[id=4885253]
>  SSH_FXP_STATUS (substatus=SSH_FX_EOF, lang=, msg=End of file)
> 04 Aug 2021 21:38:10,843 [sshd-SshServer[6ad1bbb8](port=59119)-nio2-thread-1] 
> DEBUG Nio2Session  - writeBuffer(Nio2Session[local=/10.15.102.66:59119, 
> remote=10.84.42.167/10.84.42.167:59334]) writing 10800 bytes
> 04 Aug 2021 21:38:10,843 [sshd-SshServer[6ad1bbb8](port=59119)-nio2-thread-1] 
> DEBUG ServerSessionImpl  - 
> encode(ServerSessionImpl[testuser1@10.84.42.167/10.84.42.167:59334]) packet 
> #150 sending command=94[SSH_MSG_CHANNEL_DATA] len=41
> 04 Aug 2021 21:38:10,843 [sshd-SshServer[6ad1bbb8](port=59119)-nio2-thread-1] 
> DEBUG Nio2Session  - writeBuffer(Nio2Session[local=/10.15.102.66:59119, 
> remote=10.84.42.167/10.84.42.167:59334]) writing 96 bytes
> 04 Aug 2021 21:38:10,843 [sshd-SshServer[6ad1bbb8](port=59119)-nio2-thread-1] 
> DEBUG ServerSessionImpl  - 
> encode(ServerSessionImpl[testuser1@10.84.42.167/10.84.42.167:59334]) packet 
> #151 sending command=94[SSH_MSG_CHANNEL_DATA] len=41
> 04 Aug 2021 21:38:10,843 [sshd-SshServer[6ad1bbb8](port=59119)-nio2-thread-1] 
> DEBUG Nio2Session  - writeBuffer(Nio2Session[local=/10.15.102.66:59119, 
> remote=10.84.42.167/10.84.42.167:59334]) writing 96 bytes
> 04 Aug 2021 21:38:11,038 [sshd-SshServer[6ad1bbb8](port=59119)-nio2-thread-8] 
> DEBUG ChannelSession  - handleData(ChannelSession[id=0, 
> recipient=256]-ServerSessionImpl[testuser1@10.84.42.167/10.84.42.167:59334]) 
> SSH_MSG_CHANNEL_DATA len=57



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to