Automatically FTP files to or from a client

Source: IBM Technical Document # - 17675356

To automatically FTP files to or from a client do the following:

Create a text file with the FTP commands (see below for an example) Set the environment variable NETRC with the fully qualified name of the file with the commands Enter ftp hostname at the command prompt, for example ftp rs6000