Rename after upload

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

Rocky

I'm using FreeFileSync (FFS) to upload some files using ftps to some web server.

Some process on the web server will immediately grab those files for further processing
but somehow it must be sure that file is completely uploaded

Simplest strategy would be if FFS upload with name prefixed with a tilde, for example ~{filename}.{ext}
and once uploading is complete, rename to {filename}.{ext}

Is this possible ? Or is there a better solution with FFS ?

An alternative is if I can control in which order the files are uploaded,
for example alphabetically sorted by filename,
this way I would only worry about the last file in the sorting order.