Topic "Complete hang while getting directory contents"

Author Message


- WinSCP version 5.1.3 (Build 2881) and older
- Windows XP SP3 and Windows 7 Home Premium
- SCP transfer protocol
- No errors

When trying to list the contents of a directory with many thousand files, the program becomes absolutely non-responsive until the process is finished, this takes up to 15 minutes in some cases. We are in 2013 already, it would be nice to take care of issues like this.

Possible solutions:
- DO NOT stop the GUI responsiveness while getting dir contents, instead, disable the controls
- By any means, try to show a PROGRESS BAR. I would gladly send a 200 USD donation for a progess bar that displays the progess of the directory listing. Or 100 USD just to avoid the program from hanging.
- Add an option to limit the amount of files shown or only list files of certain file type.

I hope any of these suggestions are considered, it's really frustrating to work with WinSCP on my servers because I really must access these directories in a more convenient way. Thanks.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27106
Location: Prague, Czechia
That's long term goal to make WinSCP more responsive during lenghty operations.
Anyway there's no way to show percentage progress as you do not know how many files you are loading. Though with SFTP, WinSCP shows how many file it loaded already. This has not been added to SCP, as it is not being actively supported anymore. It's 2013, you know Wink No one uses SCP.

- Add an option to limit the amount of files shown or only list files of certain file type.

That's not possible with SFTP. For SCP yes, but see above.
Martin Prikryl

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License