Syntax: ls [<server filespec>]
FTP Command Index SFTP Command Index
The DIR command, which displays a more detailed listing.)
command displays a simple listing of server files matching the given filespec. (Compare this to the
<server filespec> |
Specifies a folder, file, or group of files on the server. If this option is not used, the contents of the current server folder are displayed. |
Example
In this example, the names of all files in the current folder on a UNIX FTP server are listed:
LS *.*