MLS

Writes an abbreviated directory listing of multiple remote directories or files to a local file.

ML[S] remote_listing [remote_listing ...] local_file

remote_listing

Specifies the remote directories or file masks from which a

 

directory listing is to be generated. The ellipsis (...) means

 

that you may specify multiple remote directories or files,

 

delimited by a comma or by one or more blank spaces.

local_file

A valid file path on the local host to store the remote listing.

 

This parameter is required, because MLS always outputs the

 

remote listing to a local file and not to a terminal. FTP always

 

uses the last parameter in the MLS runstring as the

 

local_file.

MODE

Specifies the file transfer mode.

MO[DE] mode_name

mode_name

A valid FTP file transfer mode. The only currently supported

 

mode is stream. Stream mode specifies that the data is

 

transmitted as a stream of bytes. There is no restriction on the

 

representation type used. If the structure is a file structure

 

(which is the default), the EndOfFile is indicated by the

 

sending host closing the data connection and all bytes are data

 

bytes.

MPUT

Transfers multiple local files to the remote host.

MP[UT] local_file [local_file ...]

local_file

Specifies a valid file path on the local host to be transferred to

 

the remote host. The ellipsis (...) means that you can specify

 

multiple local files, delimited by a comma or by one or more

 

blank spaces. You may use wild card characters in the file

 

names. The files are transferred to the remote host, under the

 

same directory and file names as the source files. If a remote file

 

with the same file name already exists before the file transfer, it is

 

overwritten without warning.

28 FTP