Page 1 of 1

Locking Files

Posted: Thu Nov 16, 2017 3:23 pm
by jwilms
Does the Wing FTP Server lock files when they are uploaded, so they cannot be downloaded at the same time by a different process ?

We have a customer who is uploading files via FTP to a directory in his home folder.

On our side, we have an automated FTP client somewhere else, that is polling that same folder for uploaded files.When there is a file, it starts the download of that file. Now sometimes we have a 0 bytes file, while the customer claims he started the upload successful.

Could it be that the file is not locked, and that we can start to download when the file is just created, but not fully uploaded yet ?

Is there something we can do about it (except asking the client to rename when uploaded or something)

Re: Locking Files

Posted: Sat Jan 20, 2018 5:50 am
by FTP
WingFTP will lock the uploading file of course, other process can't upload the same file, but other process can download the uploaded file content, you can't prevent it.