• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

RNT Tutorial – ESP32: Upload Files to LittleFS using Arduino IDE

Q&A Forum › Category: ESP32 › RNT Tutorial – ESP32: Upload Files to LittleFS using Arduino IDE
0 Vote Up Vote Down
Raymond Woon asked 2 months ago

Hi Rui / Sara
I have followed this tutorial and need to use WebSocket protocol. This means that I would need the CSS and JS files to be uploaded.
Originally, I was using Arduino 2.3.4, but found a post that ESP32FS is not supported – it was not displayed under the Tools menu.
I changed to Arduino 1.8.19 and can now use the tool, but am not able to upload the CSS and JS files.
Please advise.
Raymond

Question Tags: #ESP32 #LittleFS
4 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 months ago

Hi.
Yes, it is already supported. You can see this tutorial: https://randomnerdtutorials.com/arduino-ide-2-install-esp32-littlefs/
 
Regards,
Sara

0 Vote Up Vote Down
Raymond Woon answered 2 months ago

Hi Sara
I was using that before with 2.3.4.
However I just retried and this is console.
Failed to load resource: the server responded with a status of 500 (Internal Server Error) for both the style.css and script.js.
I also tried 1.8.19 with the ESP32 uploader and got the same 500 status error.
 
Regards
Raymond
 

0 Vote Up Vote Down
Raymond Woon answered 2 months ago

Hi Sara
It’s a simple web page so I decided to embed the CSS and js.
That will suffice.
Thanks
Raymond.

0 Vote Up Vote Down
Sara Santos Staff answered 2 months ago

Ok. But, there’s probably something wrong. Or with your code or with the LittleFS tool installation on your Arduino IDE.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.