Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File not being deleted from SPIFFS of ESP32-S3 (IDFGH-12493) #13504

Closed
3 tasks done
abhinav-embrill opened this issue Mar 30, 2024 · 2 comments
Closed
3 tasks done

File not being deleted from SPIFFS of ESP32-S3 (IDFGH-12493) #13504

abhinav-embrill opened this issue Mar 30, 2024 · 2 comments
Labels
Awaiting Response awaiting a response from the author Resolution: Done Issue is done internally Status: Done Issue is done internally

Comments

@abhinav-embrill
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

I am using ESP32-S3 and I am transferring an image captured by camera through UART. If the image is not transmitted it gets deleted from the SPIFFS using 'remove(file_path)' and 'unlink(file_path)'. But my problem is that the image is not being removed from the SPIFFS. Why?

@espressif-bot espressif-bot added the Status: Opened Issue is new label Mar 30, 2024
@github-actions github-actions bot changed the title File not being deleted from SPIFFS of ESP32-S3 File not being deleted from SPIFFS of ESP32-S3 (IDFGH-12493) Mar 30, 2024
@haberturdeur
Copy link
Collaborator

haberturdeur commented Apr 2, 2024

Hi, thank you for the report.
When you remove the file is the file is still accessible using open()?
If it isn't and just "takes up space", it is a documented behavior, please see: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/storage/spiffs.html#notes (6th bullet point)

@espressif-bot espressif-bot added the Awaiting Response awaiting a response from the author label Jul 24, 2024
@Alvin1Zhang
Copy link
Collaborator

Thanks for reporting, will close due to inactivity, feel free to reopen with more updates.

@espressif-bot espressif-bot added Status: Done Issue is done internally Resolution: Done Issue is done internally and removed Status: Opened Issue is new labels Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Response awaiting a response from the author Resolution: Done Issue is done internally Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

4 participants