Syntax: dir [<server filespec>]
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.)
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.
This command displays a list of executable files in the current directory on a VAX/VMS FTP server: