summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Plasa <dplasa@gmail.com>2020-05-26 05:02:01 +0200
committerGitHub <noreply@github.com>2020-05-26 05:02:01 +0200
commit57ce31f31d8b93a6ac132eb62ce8bed9183b7135 (patch)
tree1b2f5f39dc5772023a41bda897000f0d908cbb8c
parentfix typo (diff)
downloadFTPCLientServer-57ce31f31d8b93a6ac132eb62ce8bed9183b7135.tar
FTPCLientServer-57ce31f31d8b93a6ac132eb62ce8bed9183b7135.tar.gz
FTPCLientServer-57ce31f31d8b93a6ac132eb62ce8bed9183b7135.tar.bz2
FTPCLientServer-57ce31f31d8b93a6ac132eb62ce8bed9183b7135.tar.lz
FTPCLientServer-57ce31f31d8b93a6ac132eb62ce8bed9183b7135.tar.xz
FTPCLientServer-57ce31f31d8b93a6ac132eb62ce8bed9183b7135.tar.zst
FTPCLientServer-57ce31f31d8b93a6ac132eb62ce8bed9183b7135.zip
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index b1a0641..cd8d17a 100644
--- a/README.md
+++ b/README.md
@@ -22,19 +22,19 @@ Select the desired FS via the contructor
#include <espFTPServer.h>
#include <LittleFS.h>
-espFTPServer ftpServer(LittleFS); // construct with LittleFS
+FtpServer ftpSrv(LittleFS); // construct with LittleFS
// or
-espFTPServer ftpServer(SPIFFS); // construct with SPIFFS if you need to for backward compatibility
+FtpServer ftpSrv(SPIFFS); // construct with SPIFFS if you need to for backward compatibility
```
### Configure username/password
```cpp
-ftpServer.begin("username", "password");
+ftpSrv.begin("username", "password");
```
### Handle by calling frequently
```cpp
-ftpServer.handleFtp(); // place this in e.g. loop()
+ftpSrv.handleFTP(); // place this in e.g. loop()
```