Action after succesful uploading

Get help for specific problems
Posts: 4
Joined: 11 Dec 2019

Rocky

Context: local folder contains many files which are uploaded to ftps

Once an item of the local folder is uploaded with success,
I would like this item to be deleted, or better, moved to some local folder

Is this possible to automate this with freefilesync ?
User avatar
Posts: 3611
Joined: 11 Jun 2019

xCSxXenon

You can run a command after sync. Make a .bat script to either delete all those files or move them into a local directory.
Posts: 4
Joined: 11 Dec 2019

Rocky

Thanks, I see now. There are options to run a command on completion, on success, or on error.

Also, if one runs freefilesync from a command line, it returns a different exit code according to status.

Finally, one may look in the log file to get the exact file names that were copied with success,
and only act on those files.