local | Local file size is the newer. |
remote | Remote file size is the newer. |
same | File modification times are the same. |
FtpHandle | Handle for FTP connection. |
TargetName | Name of file. Must be the same for both local and remote. |
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.]
% FtpWhichIsNewer $MyFtpHandle myfile.txt
remote
% touch myfile.txt
% FtpWhichIsNewer $MyFtpHandle myfile.txt
local