This project is read-only.

not all files are listed

May 23, 2014 at 2:25 AM
Hi, there;
 I am using SftpClient to connect the SFTP server which is successful. The problem I found is that it says the number of files in the server is 7000s when calling ListDirectory(). But ifI use WinSCP or FileZilla to connect to the same SFTP server it gives 9000s files!
I checked those files displayed (not listed by SftpClient ) in WinSCP, they seems quite normal files (text file, no weird names...).

can someone give any clue to this please?

Cheers
Robert
Coordinator
Jun 2, 2014 at 8:03 PM
Robert,

Can you reproduce this issue with a public SFTP server ?
I reviewed our code, and couldn't immediately find a bug in this area.

Thanks!
Gert
Jun 2, 2014 at 11:05 PM
Hi, Drieseng;
 After spending quite a bit time to investigate this, it was SFTP server issue (out of our control). WinSCP setting and SftpClient  was directed to different SFTP server (UAT and live). After changes the settings, SftpClient actually works perfectly!

Thank you Drieseng for your awesome work.

Cheers
Robert.
Marked as answer by drieseng on 6/4/2014 at 12:13 PM