Topic "'-a' parameter causes problems when LISTing directory (FTP)"

Author Message



I tried to use WinSCP 4.0.3 (build 345) with some FTP server, which apparently dislikes '-a' parameter to LIST command. The answer is: 550 No such file or directory. LIST command without parameters lists the directory contents as expected.

What is this parameter for? I haven't found it in FTP protocol specification. I guess it could be somewhat connected with hidden files, so I unchecked 'Show hidden files' in configuration screen, but this did not help (parameter is still present in session log and session fails).

Is it possible to make WinSCP use LIST alone, without '-a'?
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27083
Location: Prague, Czechia
This will be fixed in the next release.
Martin Prikryl


For anyone who suffers from the same reason and doesn't want to wait for the next release: change -a to two spaces using hex editor at byte 34CE52 in winscp.exe. It works.

BTW: I like WinSCP very much. It is very convenient, especially for people preferring keyboard to mouse (like me).

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