There is a case that two same simultaneous connections access the same file.
Before the one connection finishes uploading, second connection downloads the incomplete file and deletes them.
You can prevent this situation by using HiddenStor and HideFiles options if you are using proftpd ftp server.
In your /etc/proftpd.conf ,
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | <Global> AllowOverwrite yes #slee:using .in.$filename convention and block other connection to download #must work with HideFiles HiddenStor on <Limit ALL SITE_CHMOD> AllowAll </Limit> </Global> <Directory /*> #HideFiles (\.conf|passwd)$ HideFiles (\.in.*)$ </Directory> |
By defining the correct options, you can effectively block the unfinished uploading files to be shown in the directory listing.
This is nifty, but won’t allow the display of a file made by InDesign (*.indd). However,by changing the expressing to (^\.in.*), thus specifying that a file with a prefix of ‘.in.’, it is possible to hide the uploading files, while displaying the already present InDesign files.
Thank you for the valuable information.