FTAM/9000 User's Guide

Chapter 2 29
Using Interactive FTAM
Performing Remote Directory Operations
Performing Remote Directory
Operations
The ftam program allows you to manipulate the remote host's file
system. You can change your current working directory at the remote
host; delete, rename, and change the attributes of remote files; and
create, rename, and delete directories on the remote host (however, see
the following section on directory support). Table 2-3 lists commands
that allow you to work with remote files. See “Notes About Remote File
and Directory Names” earlier in this chapter for guidelines on specifying
remote names.
The exact effect of the commands in Table 2-3 may depend on the level of
support the responder provides for directories. See “Directory Support in
FTAM Implementations” later in this chapter.
Table 2-3 ftam Directory Operations Commands
Command Function
pwd Prints the name of the current remote working directory. The
resulting name uses the syntax and conventions of the remote
host. Example: ftam> pwd
cd directory Changes the current remote working directory. This example
shows proper syntax for a remote HP-UX host. Example:
ftam> cd project7/datafiles
ls [-a] [name] [file] If the name argument is a directory, ls lists the files it contains;
the default is the remote working directory. If the name
argument is a file, ls displays the file name if it exists. If the file
argument is given, the output from the command is placed in a
file by the specified name.The -a option generates a complete
listing of all the FTAM attributes of the file or files (see
example following this table).