Using FTP

FTP is scheduled at the RTE Command Interpreter level (CI>). FTP can be invoked with or without the following parameters.

FTP [-i] [-l[filename]] [-n] [-tfilename] [-v] [-g] [–q] [–u[username:password]] [host]

–i

Disables interactive prompting during multiplefile

 

operations. Interactive prompting lets you selectively

 

proceed with each file.

–l[filename]

Logs FTP output to filename in addition to the user's

 

terminal. If filename is omitted, then FTP.LOG is used.

 

There must be no space between –land the file name. If

 

filename already exists, output is appended to the file.

–n

Disables autologin. If autologin is disabled, you must

 

use the USER command to login to a remote host. If

 

autologin is enabled, FTP prompts for a user name once a

 

connection is established to a remote host.

–tfilename

Accepts input from the transfer file specified by

 

filename. There must be no space between –tand the

 

file name.

–v

Enables verbose output. Verbose output displays all

 

responses from any remote host that you are connected to.

 

These responses indicate whether FTP commands

 

completed successfully and the file transfer statistics.

–g

Disables file name globbing during multiple file

 

operations. Globbing expands the wild card characters

 

before proceeding with the multiple command.

–q

Enables quiet mode for transfer files. The normal

 

informative messags are not output to the terminal.

–u[username:password]

Specifies the user and password to use. FTP will use the

 

username and password to automatically logon to the host

 

system. If either one needs lower case characters, the

 

string must be surrounded by back quotes ('). An example

 

is: –u’MyName:mypass’.

host

Specifies the host to which you want to log on. You may

 

use the host's node name or IP address for the host

 

parameter. The syntax for the host's node name is

 

node.[.domain[.organization], and the syntax

 

for the IP address is nnn.nnn.nnn.nnn. Both are

 

further described in the NSARPA/1000 User/Programmer

 

Reference Manual.

 

If host is not specified, FTP displays the FTP prompt and

 

waits for you to enter an FTP command. In this case, you

 

must specify the OPEN command to open a connection to a

 

host.

FTP 21