Open
Description
The script doesn't check for tmp.bin file's existence before uploading a file, so if a file named tmp.bin already exists, fspd will append the upload contents to tmp.bin and move the file afterwards to correct filename.
I found this after my client crashed mid-upload.
Proposed solution:
- Check for the presence of tmp.bin before a file is uploaded, delete it since it shouldn't be there before uploading a file.
- Maybe change the name to fspd.tmp to avoid conflicting since tmp.bin is too generic
Metadata
Metadata
Assignees
Labels
No labels