Skip to content

yxuo/EspZilla

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FTP Client for the ESP32

License: MIT GitHub last commit

This library send and receive any files through FTP (up to 90KB).

Features

Some content and basic functions are from the ancestor project, the features covered are from this library.

Automatization of all FTP commands

The forked libraries I tested (2022/04/08) uses 4, 5 functions to do one simple FTP task.

This project automated these little steps inside big final functions, like

  • Upload/download binary;

  • Upload/download text;

  • Create folder;

    and so on...

Connection stability and reliability:

Automating functions let the library take more control of what is happaning, why the connection fails.

Also it can retry to do the task if connection fails.

In the end, the library will try the best possible to execute the task, if it fails you will be assured that the problem is a server or connection error.

Todo

  • One-time commands
  • Auto reconnect (for one-time commands)
  • contentList (MLSD) with flexible parameters, allowing to list a limited number of result among a large number of files
  • Save contentList (MLSD) recursively.
  • getLastModifiedTime - MDTM
  • Verbose 3 - for debug each FTP response, besides the others
  • Debug upload/download time and measured velocity
  • Force create dir (recursively)
  • Detailed documentation

Examples

You will find examples using both the legacy routine-commands and one-command, so if you are coming from the other Esp32-FTP libraries, you will have time to adapt and test.

Upload example

  • For the uploading example we will use the GitHub Octocat, which binary file is here:

    Octocat

About

FTP Client for ESP32

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 87.9%
  • C++ 12.1%