Locking Files

Please post here if you have problems in using Wing FTP Server.
Post Reply
jwilms
Posts: 1
Joined: Thu Nov 16, 2017 3:17 pm

Locking Files

Post 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)
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: Locking Files

Post 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.
Post Reply