Page 1 of 1
Protecting files during FTP transfer
Posted: Thu Aug 15, 2013 2:14 pm
by ashaman99
My FTP site has a process that is kicked off when a certain file extension is detected in the incoming folder. In order to ensure that the files being transferred to the FTP folder are not accessed by this process until they are finished uploading, I need to either protect the file by creating a lock folder during the transfer, and then move the files out of that folder, or the ability to rename the file once it has been successfully uploaded. Does BestSync support either of those options?
Re: Protecting files during FTP transfer
Posted: Sat Aug 17, 2013 2:46 am
by RiseFly
If you check "Copy Options"/"Use intermediate file during copy.(....)" option, BestSync will use a temporary file name (_BS8_XXXXXX.BS_) to upload the file to FTP server. After the transfer completes, BestSync renames the a temporary file name (_BS8_XXXXXX.BS_) to the target name.
So you can just let your process monitor and work on the certain file type, need not to worry about whether or not the file is being uploaded.
Re: Protecting files during FTP transfer
Posted: Mon Aug 19, 2013 9:00 pm
by ashaman99
That's just what I needed, thanks!