Script

FTP

The professional tool to automate FTP, SFTP, FTPS

and schedule FTP batch jobs

MENU MENU
Missing any feature or command? Post your ideas here. Suggestions are welcome.
Hi.

I am running a script using the SYNC function for a directory at my homepage, and if any new files found, counts the number of files using the GETTRANSFERREDFILESCOUNT() function. Then, in the same script I again run the SYNC function for a different directory and again using the GETTRANSFERREDFILESCOUNT(). But, if the first use of the GETTRANSFERREDFILESCOUNT() let say returned the number '3' it still returns '3' from the second SYNC function even with no transferred files during that pass.

So please, could it be possible with an option to clear the GETTRANSFERREDFILESCOUNT() like GETTRANSFERREDFILESCOUNT(0) or maybe even better CLEARTRANSFERREDFILESCOUNT()?

Best regards
Lars H.