The append command transfers a file from a local host to a remote host and appends it to a file on the remote host that may already exist. In the case of DMS files of the file type SAM, the processing type can be influenced with the ftyp command.
append |
<local-file> [<remote-file>] |
<local-file>
Name of a POSIX or DMS file on the local host that is to be transferred to the remote host. Metacharacters are not allowed.
<remote-file>
Name of a file on the remote host (metacharacters are not allowed). If the file already exists, the local file is appended to it. If the file does not exist, a new file is created.
If the remote-file operand is omitted, the name of the local file is used (in this case the name of the local file must correspond to the file naming conventions of the remote host). Uppercase letters in local file names are converted into lowercase. If the remote host is a BS2000 system, the server converts lowercase characters back into uppercase (see also the FTP client command setcase on "setcase - Uppercase/lowercase for file names in the target system").
Example
The file :5:$TCPTEST.MAN.FTP.C is transferred from the local host to the remote BS2000 host, where it is appended to the file :110:$TSOS.FTP.2. The FTP server function PORT is called implicitly.
lpwd Local directory is :5:$TCPTEST.MAN. pwd 257 ":110:$TSOS." is current directory. append ftp.c ftp.2 200 PORT command successful. ...