Arduino TinyFTP
Classes | Enumerations
ArduinoFTPClient.h File Reference

A simple FTP client for Arduino using Streams. More...

Go to the source code of this file.

Classes

class  ftp_client::CStringFunctions
 CStringFunctions We implemented some missing C based string functions for character arrays. More...
 
class  ftp_client::FTPLogger
 FTPLogger To activate logging define the output stream e.g. with FTPLogger.setOutput(Serial); and (optionally) set the log level. More...
 
class  ftp_client::FTPBasicAPI
 FTPBasicAPI Implementation of Low Level FTP protocol. In order to simplify the logic we always use Passive FTP where it is our responsibility to open the data conection. More...
 
class  ftp_client::FTPFile
 FTPFile A single file which supports read and write operations. This class is implemented as an Arduino Stream and therfore provides all corresponding functionality. More...
 
class  ftp_client::FTPFileIterator
 FTPFileIterator The file name iterator can be used to list all available files and directories. We open a separate session for the ls operation so that we do not need to keep the result in memory and we dont loose the data when we mix it with read and write operations. More...
 
class  ftp_client::FTPClient
 FTPClient Basic FTP access class which supports directory operatations and the opening of a files. More...
 

Enumerations

enum  ftp_client::FileMode { READ_MODE , WRITE_MODE , WRITE_APPEND_MODE }
 File Mode.
 
enum  CurrentOperation { READ_OP , WRITE_OP , LS_OP , NOP }
 
enum  LogLevel { LOG_DEBUG , LOG_INFO , LOG_WARN , LOG_ERROR }
 
enum  ObjectType { TypeFile , TypeDirectory , TypeUndefined }
 

Detailed Description

A simple FTP client for Arduino using Streams.

Author
Phil Schatzmann (phil..nosp@m.scha.nosp@m.tzman.nosp@m.n@gm.nosp@m.ail.c.nosp@m.om)

Sometimes you might have the need to write your sensor data into a remote file or for your local processing logic you need more data than you can store on your local Arduino device.

If your device is connected to the Internet, this library is coming to your rescue: The FTP protocol is one of oldest communication protocols. It is easy to implement and therefore rather efficient and you can find free server implementations on all platforms.

Here is a simple but powerful FTP client library that uses a Stream based API.

We support

Version
1.0
Date
2020-Nov-07