FTAM/9000 User's Guide

Contents
11
1. A Foundation for Using FTAM
HP FTAM/9000 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
Interactive FTAM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
Command-Line FTAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
Programmatic FTAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
2. Using Interactive FTAM
Chapter Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21
Basic Steps for Using ftam . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22
Step 1: Invoking ftam. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22
Step 2: Connecting to the Remote Host. . . . . . . . . . . . . . . . . . . . . . . . .22
Use the open Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22
Provide Login Information to the Remote Host. . . . . . . . . . . . . . . . .23
Set a Default Working Directory (Optional) . . . . . . . . . . . . . . . . . . .24
Step 3: Using ftam Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24
Step 4: Ending an ftam Session. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
Obtaining Help. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
Notes About Remote File and Directory Names. . . . . . . . . . . . . . . . . .25
Managing an ftam Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
Example: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
Making ftam More Informative. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
Performing Remote Directory Operations . . . . . . . . . . . . . . . . . . . . . . . .29
File Listings from FTAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30
Using the cattr Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
Syntax of the cattr Command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32
Directory Support in FTAM Implementations . . . . . . . . . . . . . . . . . . .34
Performing Local Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35
Performing File Transfers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37