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

Otto Frost commented on SSHD-120:
---------------------------------

diff attached

I hardcoded the numer of files per packet to 5. It would be better to calculate 
the number of files in relation to the packet size.
It causes more roundtrips than necessary, but it works.

> list 1500 files in one directory not working for mindterm sftp client
> ---------------------------------------------------------------------
>
>                 Key: SSHD-120
>                 URL: https://issues.apache.org/jira/browse/SSHD-120
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 0.5.0
>         Environment: windows xp professional sun jre 1.5
> windows 2003 server sun jre 1.5
> mindterm 3.4 ftp2sftp
>            Reporter: Otto Frost
>         Attachments: sftpsubsystem.diff
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> mindterm is used in ftp2sftp mode
> trying to list files in a directory "manyfiles" with  > 1500 files doesn't 
> work on the "apache mina sshd"
> when doing the following operation it doesn't work. In the "manyfiles" dir 
> there are >1500 files.
> mindterm can list files in a directory with < 50 files
> mindterm can list files on a opensshd server with a directory with > 1500 
> files, therefore we think the error is in the "apache mina sshd" and not in 
> mindterm, at least there is some incompatibility...
> ftp> o localhost 2120
> Connected to WKE198515.u-dom1.u-ssi.net.
> 220 FTPToSFTPProxy use 'ssh2-user@ssh2-host[:port]' as your username or 
> ;ssh2-us
> er;keyfile;10@ssh2-host[:port]
> User (WKE198515.u-dom1.u-ssi.net:(none)): a@localhost:2222
> 331 Password required for a@localhost:2222.
> Password:
> 230 User a@localhost:2222 logged in.
> ftp> cd ../../../tst/manyfiles
> 250 CWD command successful.
> ftp> ls
> 200 PORT command successful.
> 150 Opening ASCII mode data connection for nlst.
> Connection closed by remote host.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to