Skip to content

Commit 3e702dd

Browse files
committed
Give credits to https://github.com/danbicks and his code posted in esp8266/Arduino#1183 (comment)
which inspired me to the code of the FTPClient
1 parent d608b87 commit 3e702dd

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

FTPClient.h

+3-15
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
*
33
* MIT license
44
* written by Daniel Plasa:
5-
* 1. split into a plain FTP and a FTPS class to save code space in case only FTP is needed.
6-
* 2. Supply two ways of getting/putting files:
5+
* Inspired by https://github.com/danbicks and his code posted in https://github.com/esp8266/Arduino/issues/1183#issuecomment-634556135
6+
*
7+
* The Client supports two ways of getting/putting files:
78
* a) blocking, returns only after transfer complete (or error)
89
* b) non-blocking, returns immedeate. call check() for status of process
910
*
@@ -111,17 +112,4 @@ class FTPClient : public FTPCommon
111112
bool waitFor(const int16_t respCode, const __FlashStringHelper *errorString = nullptr, uint32_t timeOut = 10000);
112113
};
113114

114-
// basically just the same as FTPClient but has a different connect() method to account for SSL/TLS
115-
// connection stuff
116-
/*
117-
class FTPSClient : public FTPClient
118-
{
119-
public:
120-
FTPSClient() = default;
121-
122-
private:
123-
virtual bool connect();
124-
};
125-
*/
126-
127115
#endif // FTP_CLIENT_H

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,4 @@ ftpClient.handleFTP(); // place this in e.g. loop()
8484

8585
## Notes
8686
* 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
87-
* Inspiration for the Client was taken from https://github.com/esp8266/Arduino/issues/1183#issuecomment-634556135
87+
* 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

0 commit comments

Comments
 (0)