Page 1 of 1

How can I implement FTP client?

Posted: Mon Jan 22, 2018 2:15 am
by quanvuee
Hi!
I want to use ftp client in ESP for OTA update.
I used libCurl in example: https://github.com/loboris/ESP32_curl_example
But it have a problem. The code size is too big !!! Binary file size reach 1.5MB.
I tried to find other light weight library for FTP client but I can't find anything.
Someone have any suggestion?

Re: How can I implement FTP client?

Posted: Mon Jan 22, 2018 6:24 am
by abcdcadb
quanvu,

if code size is big, make a modification on partition

Re: How can I implement FTP client?

Posted: Mon Jan 22, 2018 6:52 am
by ESP_igrr
In addition to that, CURL has a lot of CURL_DISABLE_XXXX configuration options, which can be used to reduce code size if you only need specific protocols. Like, CURL_DISABLE_SMTP, CURL_DISABLE_RTSP, and so on. Have a look at curl_config.h.

Re: How can I implement FTP client?

Posted: Fri May 17, 2019 12:06 pm
by JohnnyB1290
Hi! I have C Ftp Client for ESP32 in my repo: https://github.com/JohnnyB1290/ESP32-FTP-Client
I'll be glad, if it helps somebody. :)

Re: How can I implement FTP client?

Posted: Thu Oct 03, 2019 10:56 pm
by nopnop2002
I posted this.
https://github.com/nopnop2002/esp-idf-ftpClient

@JohnnyB1290:Thank you for useful library.