• 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

Download / Upload of files via HTTP

Q&A Forum › Category: ESP32 › Download / Upload of files via HTTP
0 Vote Up Vote Down
Bernie asked 2 years ago

Hi Sara — do you have an example code for downloading and uploading (Windows) files through WiFi?  I searched your examples and tutorials and don’t believe there is one.
Thanks greatly, Regards
Bernie

Question Tags: ESP32 WiFi HTTP
4 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
Unfortunately, you’re right.
We don’t have any resources about that subject.
Regards,
Sara

1 Vote Up Vote Down
William Lucid answered 2 years ago

Hi Bernie,
I use Simple FTP Server and Client for the esp8266/esp32 with SPIFFS and LittleFS support. Library allows upload and download files; both ESP32 LittleFS files and Windows files, to and from the ESP32 over WiFi.

Used the dplasa, FTPClientServer library in Cameraraingauge project.
FTP portion of the webserver is not linked to the public:
ESP32 Webserver for Cameraraingauge project.

FTP is used for webserver maintenance in my project and viewing files not publicly linked.  Combined with FTP program “Filezilla”; file handling between Windows PC and ESP32 becomes easy!

Regards,
William

0 Vote Up Vote Down
Bernie answered 2 years ago

Thank you so much William.  I will certainly explore FTP as a method for file transfer.
As my files are on a SDFat device, I wonder what the use for SPIFFS or LittleFS are?
A file system in SRAM I believe is overkill.  As one has random access to the structures, one can always implement a suitable and fast data structure.  But for the SD drive, why not SDFat?

Regards,

Bernie

1 Vote Up Vote Down
William Lucid answered 2 years ago

Hi Bernie,

Found ESP32_FTPServer_SD library; may be what you are looking for sending SDFat card files to Windows computer.

Regards,
William

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.