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...
#include <FTPBasicAPI.h>
|
bool | begin (Client *cmdPar, Client *dataPar, IPAddress &address, int port, const char *username, const char *password) |
|
bool | quit () |
|
bool | connected () |
|
| operator bool () |
|
bool | passv () |
|
bool | del (const char *file) |
|
bool | mkdir (const char *dir) |
|
bool | rmd (const char *dir) |
|
size_t | size (const char *file) |
|
ObjectType | objectType (const char *file) |
|
bool | abort () |
|
bool | binary () |
|
bool | ascii () |
|
bool | type (const char *txt) |
|
Stream * | read (const char *file_name) |
|
Stream * | write (const char *file_name, FileMode mode) |
|
Stream * | ls (const char *file_name) |
|
void | closeData () |
|
void | setCurrentOperation (CurrentOperation op) |
|
CurrentOperation | currentOperation () |
|
void | flush () |
|
bool | checkResult (const char *expected[], const char *command, bool wait_for_data=true) |
|
bool | cmd (const char *command, const char *par, const char *expected, bool wait_for_data=true) |
|
bool | cmd (const char *command_str, const char *par, const char *expected[], bool wait_for_data=true) |
|
|
bool | connect (IPAddress adr, int port, Client *client_ptr, bool doCheckResult=false) |
|
|
CurrentOperation | current_operation = NOP |
|
Client * | command_ptr = nullptr |
|
Client * | data_ptr = nullptr |
|
IPAddress | remote_address |
|
bool | is_open |
|
char | result_reply [100] |
|
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.
- Author
- Phil Schatzmann
The documentation for this class was generated from the following file: