beautypg.com

HP Integrity NonStop H-Series User Manual

Page 91

background image

$custget a* b* c*

The first time the macro executes, the mget command uses the wild-card name a* to request the
files. The second time it uses the wild-card name b*; the third time mget uses c*.

In the next example, the macro has two arguments, one for a file name and one for a directory
name:

ftp> macdef putfile
Enter macro line by line, terminating it with a null line
cd $1
put $2
ftp> $putfile dirxyz fileabc
cd dirxyz FTP displays the commands put fileabc as they execute.
ftp>

FTP Command Reference

91

This manual is related to the following products: