6 ftp—transferring files, Running ftp at a terminal – HP Integrity NonStop H-Series User Manual

Page 37

Advertising
background image

6 FTP—Transferring Files

The FTP client allows you to transfer files to and from a remote host system while working interactively
at your terminal. In addition to transferring files, you can work with directories on the remote
system, delete and rename remote files, and use tools such as macros to make your work easier
and more efficient.

By using FTP, you can transfer ASCII files, unstructured files, and structured files such as
key-sequenced, relative, and entry-sequenced files. Note that transferring SQL files is not supported.

Running FTP at a Terminal

This section tells you how to run the FTP client on your Guardian system to communicate with FTP
servers on other remote systems. To use the HP NonStop FTP client commands, you must initiate
an FTP session by entering the FTP run command. The form of the FTP run command is:

ftp [ / run-option [ , run-option ] ... / ]

[ -v ] [ -d ] [ -i ] [ -n ] [ -g ] [ -llogfile ] [ -k ] [ —s local IP Address] [ host ]

run-option

is an operating system RUN command option. See the RUN command in the TACL Reference
Manual
for a complete description of the run options.

-v

requests FTP to display all responses from the FTP server and report on data transfer statistics;
this is called verbose mode.

-d

turns on debugging mode. When debugging mode is enabled, FTP displays each command
sent to the remote system and displays the string “-->” preceding each command.

-i

turns off interactive prompting during multiple file transfers. If prompting is enabled, you can
selectively retrieve and store files; FTP prompts you for a confirmation before each file is
transferred.

-n

prevents FTP from attempting to automatically log you on to the remote host when you initially
connect to it, and prevents FTP from prompting for logon information. Unless you include this
option, FTP will try to locate a file named FTPCSTM on your logon default subvolume. If the
file exists, FTP searches for an entry that describes an account on host.

If no entry exists, FTP prompts you for the remote host name or address and, if required, a
password and account with which to log on. See “Logging On to a Remote System” for more
information.

-g

turns off the FTP mechanism for expanding a single name to a list of file names based on the
wild-card characters included in the name. See the glob command description for detailed
information.

- llogfile

logs the output of FTP to the log file specified in logfile. You can specify the name of a disk
file, spooler job, or EMS collector for logfile.

If you specify an EMS collector, HP recommends that you specify a collector other than $0 to
avoid flooding $0 with FTP messages.

Running FTP at a Terminal

37

Advertising
This manual is related to the following products: