This library send and receive any files through FTP (up to 90KB).
Some content and basic functions are from the ancestor project, the features covered are from this library.
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...
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.
- 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
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.
-
For the uploading example we will use the GitHub Octocat, which binary file is here:
- Forked from https://github.com/ldab/ESP32_FTP