Simple GET, uses MLST only in scripting mode
When retrieving a file in the GUI, either downloading or viewing it, it looks like this:
And when doing something similar via command-line scripts, it looks like:
It seems our particular FTP-server does not handle MLST very well, it is a built-in system, and I have no way of changing this. Is there any particular reason MLST needs to be used in the CLI case?
220 MM-FTP Server Connected.
USER Administrator
331 Password required for Administrator.
PASS xxx
230 Login successful.
SYST
215 Windows_NT
FEAT
211-FEAT
SIZE
MDTM
MLSD
MLST
REST STREAM
HASH MD5*;SHA-1;SHA-224;SHA-256;SHA-384;SHA-512
XMD5
XSHA1
XSHA256
XSHA512
AUTH TLS;TLS-C;TLS-P;SSL
PBSZ
PROT C;P
211 END
PWD
257 "/" is current directory.
CWD /
200 Changed directory to /
PWD
257 "/" is current directory.
TYPE A
200 Type is ASCII.
PASV
227 Entering Passive Mode (138,227,102,235,4,48)
MLSD
150 File status ok; About to open data connection.
226 Closing data connection. Transfer ok.
TYPE A
200 Type is ASCII.
PASV
227 Entering Passive Mode (138,227,102,235,4,48)
RETR autoexec.txt
150 File status ok; About to open data connection.
250 File transfer completed for (autoexec.txt)
221 FTP Server Abort connection on timeout
And when doing something similar via command-line scripts, it looks like:
220 MM-FTP Server Connected.
USER Administrator
331 Password required for Administrator.
PASS xxx
230 Login successful.
SYST
215 Windows_NT
FEAT
211-FEAT
SIZE
MDTM
MLSD
MLST
REST STREAM
HASH MD5*;SHA-1;SHA-224;SHA-256;SHA-384;SHA-512
XMD5
XSHA1
XSHA256
XSHA512
AUTH TLS;TLS-C;TLS-P;SSL
PBSZ
PROT C;P
211 END
PWD
257 "/" is current directory.
CWD /
200 Changed directory to /
PWD
257 "/" is current directory.
TYPE A
200 Type is ASCII.
PASV
227 Entering Passive Mode (138,227,102,235,4,47)
MLSD
150 File status ok; About to open data connection.
226 Closing data connection. Transfer ok.
MLST /autoexec.txt
125 Data connection open; Transfer starting.
Type=cdir; /
Type=file;Size=1382;Modify=20141017074726;Perm=rwfd; autoexec.txt
It seems our particular FTP-server does not handle MLST very well, it is a built-in system, and I have no way of changing this. Is there any particular reason MLST needs to be used in the CLI case?