HP-UX SNAplus2 R7 APPC Application Suite User's Guide

AFTP
AFTP Subcommands
AFTP Subcommand Description
put local-le [remote-le] Use the put subcommand to transfer a copy of one or more les from
the local computer to the remote computer. The local-le parameter is the
name of the local le on your computer you want to copy to the remote
computer. You can use wildcards to create a list of les you want to
copy. If you do not specify remote-le,
AFTP
copies the les into the cur-
rent directory on the remote computer using the local-le name without
the directory path.
send Alias for put.
2.3.4 Directory and File Manipulation on the Target Computer
AFTP includes subcommands to enable you to manipulate les and directories on the target computer, make and
remove directories, list directory contents, rename les, and perform other common operating system functions.
Table 24, AFTP Subcommands to Manipulate Directories and Files on the Target Computer, summarizes the
AFTP
subcommands used for directory and le manipulation on the target computer.
Table 24 AFTP Subcommands to Manipulate Directories and Files on the Target
Computer
AFTP Subcommand Description
cd directory-spec
Changes the current working directory of the target computer to the direc-
tory you specify with directory-spec.
delete remote-file-spec
or del remote-file-spec
Deletes the le on the target computer you specify with remote-le-spec.
dir [file-spec]
Provides a long directory list of the les and directories on the target
computer. The list is displayed in the target computers native format.
Use file-spec to specify particular les you want to display. You can
use wildcards to generate a list of les. If you specify a directory, all les
within that directory on the target computer are displayed. Issue this sub-
command only when a session is open.
ls [file-spec]
Displays a short directory list from the target computer. Only le names
and directory names (not le attributes) are shown. Use file-spec to
specify the les you want to display. You can use wildcards to generate a
list of les. If you specify a directory, all les within that directory are
displayed. Issue this subcommand only when a session is open.
lsd [file-spec]
Provides a short directory list from the target computer that contains only
directories. Use file-spec to specify the directories you want dis-
played on the target computer. You can use wildcards to generate a list of
les. If you specify a directory, all subdirectories within that directory are
displayed. Issue this subcommand only when a session is open.
mkdir directory-spec or
md directory-spec
Creates a new directory on the target computer. You cannot use wild-
cards. Issue this subcommand only when a session is open.
pwd
Displays the name of the present working directory on the target com-
puter. Issue this subcommand only when a session is open.
22