Get large log files from sd card over wifi?

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
JonRob
Posts: 6
Joined: Sat Mar 14, 2020 6:26 am

Get large log files from sd card over wifi?

Post by JonRob » Thu Jun 11, 2020 11:44 pm

I searched but no luck, How could I download large files from over the wifi? over 20MB file sizes.
I tried an FTP script but it stalls on files this big. Any ideas?

cgglzpy
Posts: 37
Joined: Thu Jul 18, 2019 4:20 pm

Re: Get large log files from sd card over wifi?

Post by cgglzpy » Fri Jun 12, 2020 12:26 pm

Hi JonRob,

You could try upydev, just follow the instructions in the README
and then use sync command , e.g.:

Code: Select all

$ upydev sync -f logACC_26_6_2019_0_18_42.txt -s sd
Note:
  • 1) The SD card should be mounted as 'sd'
  • 2) 20 MB is large so expect at least 2-3 minutes with ideally conditions, or even double with the esp8266
I will do a test with the esp32 and let you know the times exactly.

bitninja
Posts: 134
Joined: Thu Sep 15, 2016 4:09 pm
Location: Spring, Texas

Re: Get large log files from sd card over wifi?

Post by bitninja » Fri Jun 12, 2020 2:44 pm

I use...

https://github.com/robert-hh/FTP-Server ... 2-and-PYBD

and am able to transfer files from the file system AND the sdcard much larger than 20MB.

JonRob
Posts: 6
Joined: Sat Mar 14, 2020 6:26 am

Re: Get large log files from sd card over wifi?

Post by JonRob » Mon Jun 15, 2020 7:58 pm

bitninja wrote:
Fri Jun 12, 2020 2:44 pm
I use...

https://github.com/robert-hh/FTP-Server ... 2-and-PYBD

and am able to transfer files from the file system AND the sdcard much larger than 20MB.
This works, thanks!

Post Reply