Tools
LIST FTP command
The LIST command is issued to transfer information about files on the server through a previously established data connection. When no argument is provided with the LIST command, the server will send information on the files in the current working directory. If the argument specifies a directory or other group of files, the server should transfer a list of files in the specified directory. If the argument specifies a file, then the server should send current information about the file.
First published date
Last published date
Overview
LIST) FTP command.Product section
Resolution
The LIST command is issued to transfer information about files on the server through a previously established data connection. When no argument is provided with the LIST command, the server will send information on the files in the current working directory. If the argument specifies a directory or other group of files, the server should transfer a list of files in the specified directory. If the argument specifies a file, then the server should send current information about the file.
-rw-rw-rw- 1 user group 0 Feb 9 09:38 \ subdirectory\ file.txt
instead of:
-rw-rw-rw- 1 user group 0 Feb 9 09:38\ file.txt
Advanced options
Serv-U supports the option to return full paths in the LIST command in the command response. Enabling this advanced option allows Serv-U to return the full path when LIST is issued for a specific file. The format is:
Common responses
- 110 FTP response code , 150 FTP response code
- 226 FTP response code , 250 FTP response code
- 421 FTP response code , 425 FTP response code , 426 FTP response code , 450 FTP response code , 451 FTP response code
- 500 FTP response code , 501 FTP response code , 502 FTP response code , 530 FTP response code , 534 FTP response code , 535 FTP response code