Ftp: mls

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Ftp: mls

Displays an abbreviated list of files and subdirectories in a remote directory.

Syntax

mls RemoteFiles [ ...] LocalFile

Parameters
  • RemoteFiles
    Specifies the files for which you want to see a listing.
  • LocalFile
    Specifies a local file in which to store the listing.
  • ? mls
    Displays help for the mls command.
Remarks
  • Specifying RemoteFiles

    Type a hyphen (-) to use the current working directory on the remote computer.

  • Specifying LocalFile

    Type a hyphen (-) to display the listing on the screen.

Formatting legend

Format Meaning

Italic

Information that the user must supply

Bold

Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

See Also

Concepts

Ftp
Ftp subcommands
Command-line reference A-Z
Command shell overview