FTP Library Package 1.1 for Tcl/Tk Manual Pages

COMMAND
FTP::Reget  remote  ?local?
 
The

FTP::Newer command has the same behavior as FTP::Get, except that it gets the remote file only if the modification time of the remote file is more recent that the file on the local system. If the file does not exist on the current system, the remote file is considered newer.

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

EXAMPLE
# retrieve a large file name (12 MByte)
FTP::Get foo.tar

.... after 1 hour and 11.9 transfered MBytes the connection is broken :-(

# restart file transfer at the broken position and
# retrieve only the remaining 0.1 MByte
FTP::Reget foo.tar
	

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


© 1999 Steffen Traeger