@russ_gillespie: Please read documentation. If that does not help, come back.
- martin
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
LIST -a
command, can I get WinSCP to use something other than this?
LIST -a
should not be used by default, since it can make hosts disconnect unexpectedly without giving WinSCP a chance to revert back to LIST
. Anyway, it is your call.
MLSD
. Thanks for adding it as an enhancement request.
Just as a suggestion, maybe it will be better to disableLIST -a
by default. It is not safe to rely on this feature to work on all hosts. I think most of the users will not dig as far as I did and will put it down as a bug in your application.
LIST
if LIST -a
fails. But your host just disconnects. WinSCP cannot cope with that.
MLSD
command to get directory listing. It shows hidden files as well, while WinSCP no longer shows hidden files with LIST
command. Will it be possible to use MLSD
automatically when it is supported or at least being able to choose it manually?
MLST and MLSD are FTP commands intended to provide detailed, standardized directory listings across different server platforms.
FTP Server Software with MLST/MLSD Support:
NetBSD-ftp, NcFTPD, Titan Server / Visinetic, SurgeFTP, Globalscape Secure FTP Server, PureFTPd, WFTPD
RFC: https://datatracker.ietf.org/doc/rfc3659/
LIST -a
command and unexpectedly terminates the connection. Below is a snippet of the log file.
LIST -a
by default. It is not safe to rely on this feature to work on all hosts. I think most of the users will not dig as far as I did and will put it down as a bug in your application.
. 2010-04-27 12:42:44.281 Changing directory to "/xxxxx".
> 2010-04-27 12:42:44.281 CWD /xxxxx
< 2010-04-27 12:42:44.296 250 CWD command successful
. 2010-04-27 12:42:44.296 Got reply 1 to the command 16
. 2010-04-27 12:42:44.296 Getting current directory name.
> 2010-04-27 12:42:44.296 PWD
< 2010-04-27 12:42:44.312 257 "/xxxxx" is the current directory
. 2010-04-27 12:42:44.312 Got reply 1 to the command 16
. 2010-04-27 12:42:44.312 Retrieving directory listing...
> 2010-04-27 12:42:44.312 TYPE A
< 2010-04-27 12:42:44.328 200 Type set to A
> 2010-04-27 12:42:44.328 PASV
< 2010-04-27 12:42:44.328 227 Entered Passive Mode (xx,xx,xx,xx,xx,xx)
> 2010-04-27 12:42:44.328 LIST -a
< 2010-04-27 12:42:44.359 150 Opening ASCII mode data connection for file list
. 2010-04-27 12:42:44.375 Disconnected from server
. 2010-04-27 12:42:44.375 Could not retrieve directory listing
. 2010-04-27 12:42:44.375 Got reply 1004 to the command 2
. 2010-04-27 12:42:44.375 Timeout detected.
. 2010-04-27 12:42:44.375 Ignoring old TransferEnd message
* 2010-04-27 12:42:44.375 (ESshFatal) Lost connection.
* 2010-04-27 12:42:44.375 Disconnected from server
* 2010-04-27 12:42:44.375 Could not retrieve directory listing
* 2010-04-27 12:42:44.375 Timeout detected.
* 2010-04-27 12:42:44.375 Opening ASCII mode data connection for file list
* 2010-04-27 12:42:44.375 Error listing directory '/xxxxx'.