thecyman / iqbox-ftp

Automatically exported from code.google.com/p/iqbox-ftp
0 stars 0 forks source link

Deleting a file that is currently being uploaded #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add a large file to your sync folder.
2. Delete the file.

What is the expected output? What do you see instead?
It should delete the file immediately. But sometimes you get Windows warning 
that the file is in use. This is because IQBox is currently reading the file 
for upload. It seems like if you try deleting a file times, then you'll catch 
the action between the read buffering, and all will be okay.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by simonis2...@gmail.com on 23 Jul 2013 at 5:49

GoogleCodeExporter commented 9 years ago
In latest build, the new action is to allow the delete but continue uploading 
the file. This might not be ideal since you may have deleted the file partially 
because you may not want it uploaded. (Ex: Imagine dropping a 1GB file into 
your sync folder and realizing you don't want to sync such a big file, so you 
delete it.)
Need to improve the logic for this case.

Original comment by simonis2...@gmail.com on 21 Aug 2013 at 6:13

GoogleCodeExporter commented 9 years ago

Original comment by simonis2...@gmail.com on 10 Sep 2013 at 10:29