I've noticed a weird issue though with the realtime folder monitoring and large files. Particularly when copying files into the monitored folders over a network. The problem relates to the upload being started before the file has finished copying into the folder that is being monitored. It appears that the software is creating a shadow copy to upload before the file copy is complete.
What eventually happens is that the software uploads a corrupt/partial file. When the partial upload is complete, it then uploads the complete file, replacing the partially uploaded file with the full file.
The real trouble here is bandwidth (especially if you're paying for usage like with AmazonS3). SFFS is essentially using double the bandwidth for large files!
It would be great to have the software not start the upload until the file copy is done. Is there any way that it could be made to wait, or is this a limitation of the OS's directory changed notification?
In the meantime, there are a couple of (annoying) workarounds:
- * If the file is under 100MB or so, copy the file to a folder outside the monitored folder first, and then move it into the monitored folder so that the move is performed quickly within the same filesystem.
-
- * Pause the scheduler before the copy, and then restart it after the files are completely copied to the monitored folder.