FTP Library Package 1.2 for Tcl/Tk Manual Pages

FTP::Append  local  ?remote?
The FTP::Append command appends a local file local to an existing remote file remote on the ftp server. If the file not exists at the server site, the file shall be created at the server site.
The file parameters passed must contain a fully qualified path name, otherwise the command uses the current directory. If remote file name is unspecified, the local file name is assigned to the remote file name.

If the file was successfully transferred, then the command returns 1, if it fails 0.

# store data
FTP::Put data.log

# append new data
FTP::Append logfile data.log

[Contents]  [Previous: FTP::Put]  [Next: FTP::Get]

© 1999 Steffen Traeger