How can I implement FTP client?

quanvuee
Posts: 5
Joined: Tue Dec 05, 2017 4:53 am

How can I implement FTP client?

Postby quanvuee » Mon Jan 22, 2018 2:15 am

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?

abcdcadb
Posts: 36
Joined: Mon Aug 07, 2017 1:28 am

Re: How can I implement FTP client?

Postby abcdcadb » Mon Jan 22, 2018 6:24 am

quanvu,

if code size is big, make a modification on partition

ESP_igrr
Posts: 2072
Joined: Tue Dec 01, 2015 8:37 am

Re: How can I implement FTP client?

Postby ESP_igrr » Mon Jan 22, 2018 6:52 am

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.

JohnnyB1290
Posts: 2
Joined: Fri May 17, 2019 11:41 am

Re: How can I implement FTP client?

Postby JohnnyB1290 » Fri May 17, 2019 12:06 pm

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. :)

nopnop2002
Posts: 111
Joined: Thu Oct 03, 2019 10:52 pm
Contact:

Re: How can I implement FTP client?

Postby nopnop2002 » Thu Oct 03, 2019 10:56 pm

I posted this.
https://github.com/nopnop2002/esp-idf-ftpClient

@JohnnyB1290:Thank you for useful library.

Who is online

Users browsing this forum: Baidu [Spider] and 316 guests