Submit a ticketCall us

Don’t fall victim to a ransomware attack
Backups are helpful, but sometimes that’s not enough to protect your business against ransomware. At our live webcast we will discuss how to protect against ransomware attacks with SolarWinds® Patch Manager and how to leverage log data to detect ransomware. Register now for our live webcast.

Home > Success Center > Serv-U Managed File Transfer & Serv-U FTP Server > LIST FTP command

LIST FTP command

Updated May 3, 2017

Overview

This article describes the use of the List (LIST) FTP command.

Environment

All Serv-U versions

Detail

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.

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:
-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

Common responses

See also

NLST

 

Last modified
23:26, 7 May 2017

Tags

Classifications

Public