DIR

Syntax: dir [<server filespec>]

FTP Command Index

The DIRcommand displays a detailed listing of server files matching the given file specification. (Compare this to the LS command, which displays a less detailed listing.)

<server filespec>

Specifies a directory, file, or group of files on the FTP server. If this option is not used, the contents of the current server directory are displayed. The syntax for <server filespec> varies according to your FTP server.

Example

This command displays a list of executable files in the current directory on a VAX/VMS FTP server:

DIR *.EXE