If the FTP client is running under POSIX, it issues the following start message:
POSIX-FTP <vers> <date> <time>
<date>
and <time>
here specify the date and time when the main module was compiled. At startup time, the FTP client switches to the POSIX directory.
The FTP call with switch -n
in POSIX corresponds to batch mode in BS2000.
Example
Information about remote files is to be written into a file dir.erg
:
ftp -n <remote host> >>dir.erg <<END user <id> <password> <account> dir close bye END
TLS support of the FTP client in POSIX
TLS support of the FTP client is implemented in the same way as TLS support of the FTP client in BS2000 (see the section “TLS support in the FTP client”).
The private option file has the name $HOME/.ftp.options
. The file names relate to the POSIX file system. If you want to use a BS2000 file as CertificateFile, you must prefix the file name with “/BS2/”.