Locking Files

Please post here if you have problems in using Wing FTP Server.

Locking Files

Postby jwilms » Thu Nov 16, 2017 3:23 pm

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)
posts 1
joined Thu Nov 16, 2017 3:17 pm

Re: Locking Files

Postby FTP » Sat Jan 20, 2018 5:50 am

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.
Site Admin
posts 1557
joined Tue Sep 29, 2009 6:09 am

Return to Support

Who is online

Users browsing this forum: No registered users and 4 guests