Machine List Directory (MLSD) - KB Article #1575
Related Articles --Synopsis
The MLSD command is a replacement for the LIST command that is meant to standardize the format for directory listings to make them easier for an automated process (an FTP client) to interpret. Like the LIST command, directory information is sent to the client over a previously established data connection. The MLSD command may be accompanied with an optional parameter defining the directory that listings are requested for. Unlike the LIST command, if a filename is provided, an error is returned. For retrieving information on a single file, the MLST
command can be used. If no parameter is present, then the user's current directory is assumed.
Common Responses
125,
150
226,
250
425,
426,
451
450
500,
501,
502,
421,
530,
534,
535
See Also