Skip to content

tmp.bin file not cleared #2

Open
@suloku

Description

@suloku

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions