Open
Description
If an uploaded zip file fails during the scanning phase, we do not remove it from the server storage. This can result in unnecessary space occupation, potentially filling up our server storage.
To reproduce this issue:
- In your code, ensure that the uploads folder is empty (for easy debugging).
- Upload a corrupted zip file.
- You will see an error message in the UI, or if you are checking programmatically.
- Now, go back to your code and check the upload folder; you will observe the presence of a zip file.
Expectation: This file should be deleted in case of an error since we generate a unique name for the file every time it is uploaded.
Additional Information.
- I zipped the gscan code for testing this feature.
- Machine information
- Machine OS: Ubuntu 22.04 LTS
- Node version: v18.18.0
- Yarn version: 1.22.21
Metadata
Metadata
Assignees
Labels
No labels