diff options
-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 |