Hello,
I would like to have a new command GETCLOCKDIFF() to compute the time diff between two servers. The code already exists in the SYNC(...) command, then it could be created in a few minutes!
Usage:
[scriptftp="get_clock_diff_proposal.ftp"]# Warning. This code does not actually works on ScriptFTP v3.3
# It is only a proposal for the GETCLOCKDIFF command
$timediff=GETCLOCKDIFF()
# Return the time diff in seconds between servers
PRINT($timediff)[/ScriptFTP]
In the meanwhile, you can use my script code here to compute a time diff.
Thanks for this great product!
Gilles
I would like to have a new command GETCLOCKDIFF() to compute the time diff between two servers. The code already exists in the SYNC(...) command, then it could be created in a few minutes!
Usage:
[scriptftp="get_clock_diff_proposal.ftp"]# Warning. This code does not actually works on ScriptFTP v3.3
# It is only a proposal for the GETCLOCKDIFF command
$timediff=GETCLOCKDIFF()
# Return the time diff in seconds between servers
PRINT($timediff)[/ScriptFTP]
In the meanwhile, you can use my script code here to compute a time diff.
Thanks for this great product!
Gilles
Thanks a lot Gilles. For anybody looking for a workaround for the proposed GETCLOCKDIFF command, see the link that Gilles posted.
GETCLOCKDIFF will be implemented in the new version.
GETCLOCKDIFF will be implemented in the new version.
liked Script FTP? Try our other product Email Parser