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.
I like how well your program works, but there are times when i would like to know how long my file transfers took. It would be nice if there were timestamps in the log file so i know when a certain file started transferring. Other than that i find that it works great.
Hi.

I put those lines in the start of the script
Code: Select all# Start-time in minutes $minutes1=GETDATE(HOUR)*60+GETDATE(MIN) # Print date and time PRINT("Backup startet ".GETDATE()) And those at the end: [quote]# Minutes used $minutes2=GETDATE(HOUR)*60+GETDATE(MIN) IF($minutes2<$minutes1)     $minutes2=$minutes2+1440 END IF $timeused=$minutes2-$minutes1 # Print time used in minutes PRINT("Transfer time was ".$timeused." minutes") # Print date and time PRINT("Backup finished ".GETDATE())
Lars H.
Last edited by Lars H. on 25 Jan 2009, 11:06, edited 1 time in total.
Thanks a lot Lars