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

Advertisement

purchawa
Guest

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

Hello,

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'?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,252
Location:
Prague, Czechia

Re: '-a' parameter causes problems when LISTing directory (FTP)

This will be fixed in the next release.
_________________
Martin Prikryl

Reply with quote

purchawa
Guest

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).

Reply with quote

Advertisement

You can post new topics in this forum