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

folder creation #6

Open
garyanson opened this issue Feb 15, 2024 · 3 comments
Open

folder creation #6

garyanson opened this issue Feb 15, 2024 · 3 comments

Comments

@garyanson
Copy link

Who hard would it be to add folder creation?

@palmerr23
Copy link
Owner

I didn't add it as it's not available in all FS implementations.

Not too hard for LittleFS. SPIFFS doesn't support folders.

Which are you interested in.

ESP32 or Pico W?

@garyanson
Copy link
Author

garyanson commented Feb 16, 2024 via email

@palmerr23
Copy link
Owner

Gary,

Yes, maintaining HTML files is the task I originally wrote the utility for!

SPIFFS is the usual FS on ESP32s and it does not support folders.

If you're using FATfs then extending the code to manage folders should be possible.

I'm in the middle of something else at the moment, but will take a look at FATfs (and LittleFS on the Pico version) folders once I have a spare moment. I can't see too many difficulties, as all the filesystem calls are available. The main issue will be making sure it also works properly, without folders, for SPIFFS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants