Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Ftp: mls

Published: May 3, 2010

Updated: April 17, 2012

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista

Displays an abbreviated list of files and subdirectories in a remote directory. For examples of how this command can be used, see Examples.

mls <RemoteFile>[…] <LocalFile>

 

Parameter Description

<RemoteFile>

Specifies the file for which you want to see a listing.

<LocalFile>

Specifies a local file in which to store the listing.

  • 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.

Display an abbreviated list of files and subdirectories for Dir1 and Dir2.

mls Dir1 Dir2 -

Save an abbreviated list of files and subdirectories for Dir1 and Dir2 in the local file Dirlist.txt

mls Dir1 Dir2 Dirlist.txt 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.