Agilent Technologies E4406A VSA manual The Standard UNIX FTP Command, Table, ftp Commands

Models: E4406A VSA

1 406
Download 406 pages 63.49 Kb
Page 90
Image 90
The Standard UNIX FTP Command:

Programming Fundamentals

Using the LAN to Control the Analyzer

The Standard UNIX FTP Command:

Synopsis ftp [-g] [-i] [-n] [-v] [server-host] [-B

DataSocketBufferSize]

Description The ftp command is used to transfer files using the File Transfer Protocol. ftp transfers files over a network connection between a local machine and the remote server-host.

Options and Parameters When ftp is invoked with a server-host specified, a connection is opened immediately. Otherwise, ftp waits for user commands.

The following options are supported:

 

-g

disables expansion of shell metacharacters in file and

 

 

directory names

 

-i

disables prompts during multiple-file operations

 

-n

disables automatic log-in

 

-v

enables verbose output

 

-B

specifies a new DataSocketBufferSize

 

server-hostthe name or address of the remote host.

 

Table lists the available user commands.

Table 2-2

ftp Commands

 

 

 

 

 

 

Command

 

Description

 

 

 

 

 

ASCII

 

Sets the file transfer type to ASCII.

 

 

 

 

 

binary

 

Sets the file transfer type to binary.

 

 

 

 

 

bye

 

Closes the connection to the host and exits ftp.

 

 

 

 

cd remote_directory

Sets the working directory on the host to remote_directory.

 

 

 

 

delete remote_file

Deletes remote_file or empty remote_directory.

 

 

 

 

 

dir

 

Lists the contents of the specified remote_directory. If

 

[remote_directory]

remote_directory is unspecified, the contents of the current

 

 

 

remote directory are listed.

 

 

 

 

 

get remote_file

 

Copies remote_file to local_file. If local_file is unspecified,

 

[local_file]

 

ftp uses the remote_file name as the local_file name.

 

 

 

 

 

help

 

Provides a list of ftp commands.

 

 

 

 

 

help command

 

Provides a brief description of command.

 

 

 

 

 

image

 

Sets the file transfer type to binary.

 

 

 

 

lcd [local_directory]

Sets the local working directory to local_directory.

 

 

 

 

90

Chapter 2

Page 90
Image 90
Agilent Technologies E4406A VSA manual The Standard UNIX FTP Command, Table, ftp Commands