ftp automation

ScriptFTP

The professional tool to automate FTP, SFTP, FTPS and schedule FTP batch jobs

The forum is now read only. Please, go to the the main ScriptFTP website if you need help.
Missing any feature or command? Post your ideas here. Suggestions are welcome.
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
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.