Arduino TinyFTP
|
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...
#include <ArduinoFTPClient.h>
Public Member Functions | |
FTPFile (FTPBasicAPI *api_ptr, const char *name, FileMode mode) | |
FTPFile A single file which supports read and write operations. This class is implemented as an Arduino Stream. | |
FTPFile (FTPFile &cpy) | |
FTPFile (FTPFile &&move) | |
FTPFile & | operator= (const FTPFile &) |
virtual size_t | write (uint8_t data) |
virtual size_t | write (char *data, int len) |
virtual int | read () |
virtual int | read (void *buf, size_t nbyte) |
virtual int | readln (void *buf, size_t nbyte) |
virtual int | peek () |
virtual int | available () |
virtual void | flush () |
virtual void | close () |
virtual const char * | name () |
virtual size_t | size () |
virtual void | setEOL (char *eol) |
virtual bool | isDirectory () |
Protected Attributes | |
const char * | file_name |
const char * | eol = "\n" |
FileMode | mode |
FTPBasicAPI * | api_ptr |
ObjectType | object_type = TypeUndefined |
FTPFile A single file which supports read and write operations. This class is implemented as an Arduino Stream and therfore provides all corresponding functionality.