APPEND

Syntax: append <clientfile> [to] [<serverfile>]

FTP Command Index

The APPEND command sends a file to the FTP server, appending it to the current server file. If the server file does not exist, this command creates it, and works exactly like the PUT command.

<clientfile>

Specifies the PC file to transfer to the FTP server.

to <serverfile>

Specifies the server file to which the PC file should be appended. If this option is omitted, the PC file is appended to a server file having the same name as the PC file. If the specified server file does not exist, it is created. The TO keyword is optional.

Examples

The following command appends a PC file to a server file of the same name:

APPEND WHATSNEW.DOC

This command appends a PC file to the specified server file:

APPEND WHATSNEW.DOC TO DOCUMENT.TXT