PFTP Shell Script

This example shows a batch script with pftp actions in it. The use of both single and multiple-file movement commands as well as directory change commands are shown. We also show the "+" character used to bracket a "here document". This example assumes that you have a ".netrc" file in your home directory with the appropriate encrypted password. See HPSS Paswords.