NAME
FtpWhichIsNewer — Tell whether the local or remote file is newer or if same.
SYNOPSIS
FtpWhichIsNewer FtpHandle TargetName
DESCRIPTION
Return Value
local Local file size is the newer.
remote Remote file size is the newer.
same File modification times are the same.
Arguments
FtpHandleHandle for FTP connection.
TargetNameName of file. Must be the same for both local and remote.
More Info
See About FTP Use for additional details.

Note that it is possible for machines to have different clock times. This could make it such that files are seen as older/newer when they are not. Currently, there no option to adjust for this (perhaps in a future version).

[A listing of error conditions and messages should come in the release two weeks after this current one.]


For information regarding exceptions / errors, see here.
EXAMPLES
% FtpWhichIsNewer $MyFtpHandle myfile.txt
remote
% touch myfile.txt
% FtpWhichIsNewer $MyFtpHandle myfile.txt
local
SEE ALSO
FtpWhichIsLarger
KEYWORDS
file, network