ftp mls
Displays an abbreviated list of files and subdirectories in a remote directory. Windows commands reference
On Windows
Windows
mls <remotefile>[ ] <localfile>mls dir1 dir2 -mls dir1 dir2 dirlist.txt
<remotefile>Specifies the file for which you want to see a listing. When specifying remotefiles, use a hyphen to represent the current working directory on the remote computer.<localfile>Specifies a local file in which to store the listing. When specifying localfile, use a hyphen to display the listing on the screen.