diff options
author | Daniel Plasa <dplasa@gmail.com> | 2020-05-31 00:10:26 +0200 |
---|---|---|
committer | Daniel Plasa <dplasa@gmail.com> | 2020-05-31 00:10:26 +0200 |
commit | 3e702dd829d78b0984fdd9bf7dc54e747f63abc6 (patch) | |
tree | 37647909ab014f72facf6639ff424f330e75e52f | |
parent | change file date format for LIST command to show proper year in case the file is older than the current year (diff) | |
download | FTPCLientServer-3e702dd829d78b0984fdd9bf7dc54e747f63abc6.tar FTPCLientServer-3e702dd829d78b0984fdd9bf7dc54e747f63abc6.tar.gz FTPCLientServer-3e702dd829d78b0984fdd9bf7dc54e747f63abc6.tar.bz2 FTPCLientServer-3e702dd829d78b0984fdd9bf7dc54e747f63abc6.tar.lz FTPCLientServer-3e702dd829d78b0984fdd9bf7dc54e747f63abc6.tar.xz FTPCLientServer-3e702dd829d78b0984fdd9bf7dc54e747f63abc6.tar.zst FTPCLientServer-3e702dd829d78b0984fdd9bf7dc54e747f63abc6.zip |
-rw-r--r-- | FTPClient.h | 18 | ||||
-rw-r--r-- | README.md | 2 |
2 files changed, 4 insertions, 16 deletions
diff --git a/FTPClient.h b/FTPClient.h index bc03c67..ca5cd78 100644 --- a/FTPClient.h +++ b/FTPClient.h @@ -2,8 +2,9 @@ * * MIT license * written by Daniel Plasa: - * 1. split into a plain FTP and a FTPS class to save code space in case only FTP is needed. - * 2. Supply two ways of getting/putting files: + * Inspired by https://github.com/danbicks and his code posted in https://github.com/esp8266/Arduino/issues/1183#issuecomment-634556135 + * + * The Client supports two ways of getting/putting files: * a) blocking, returns only after transfer complete (or error) * b) non-blocking, returns immedeate. call check() for status of process * @@ -111,17 +112,4 @@ protected: bool waitFor(const int16_t respCode, const __FlashStringHelper *errorString = nullptr, uint32_t timeOut = 10000); }; -// basically just the same as FTPClient but has a different connect() method to account for SSL/TLS -// connection stuff -/* -class FTPSClient : public FTPClient -{ -public: - FTPSClient() = default; - -private: - virtual bool connect(); -}; -*/ - #endif // FTP_CLIENT_H @@ -84,4 +84,4 @@ ftpClient.handleFTP(); // place this in e.g. loop() ## Notes * I forked the Server from https://github.com/nailbuster/esp8266FTPServer which itself was forked from: https://github.com/gallegojm/Arduino-Ftp-Server/tree/master/FtpServer -* Inspiration for the Client was taken from https://github.com/esp8266/Arduino/issues/1183#issuecomment-634556135 +* Inspiration for the Client was taken from https://github.com/danbicks and his code posted in https://github.com/esp8266/Arduino/issues/1183#issuecomment-634556135 |