LDIR

Syntax: ldir [<pc filespec>]

FTP Command Index

The LDIR command displays a listing of PC files matching the given filespec.

<pc filespec>

Specifies a folder, a file, or a group of files on the PC. If this option is not used, the contents of the current PC folder are displayed.

Example

This command displays a listing of all the files in the specified PC folder that have the name Old Data and end with any extension:

LDIR D:\Results\Old Data.*