Don't allow interactions with files that are in the process of uploading. One way of doing this might be to upload files to a temporary dir and then mv them once they're done.
This would need to be carefully considered to ensure that it doesn't break any current code or UIs
Allowing the system to see and manipulate files that are partially uploaded can cause a number of problems. See https://kbase-jira.atlassian.net/browse/PTV-1767 for an example.
Don't allow interactions with files that are in the process of uploading. One way of doing this might be to upload files to a temporary dir and then
mv
them once they're done.This would need to be carefully considered to ensure that it doesn't break any current code or UIs