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

fix curl command upload error #851

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

moononournation
Copy link

No description provided.

@moononournation
Copy link
Author

moononournation commented Sep 23, 2020

The original ESP32 FSBrowser can use curl upload SPIFFS files:

for file in `ls -A1`; do curl -F "file=@$PWD/$file" fsbrowserPlus.local/edit; done

This pull request help to prepend "/" to the filename for fulfilling the SPIFFS filename format and return HTTP 200 after finished. (avoiding curl received HTTP 500 at last)

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

Successfully merging this pull request may close these issues.

1 participant