summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorDaniel Plasa <dplasa@gmail.com>2020-05-26 18:30:45 +0200
committerDaniel Plasa <dplasa@gmail.com>2020-05-26 18:30:45 +0200
commit49bde8258108057cff01dcef0c36d640373e2e79 (patch)
treee5edec8cd61df53fe928100f896b17694af1166f /examples
parentfix typo (diff)
downloadFTPCLientServer-49bde8258108057cff01dcef0c36d640373e2e79.tar
FTPCLientServer-49bde8258108057cff01dcef0c36d640373e2e79.tar.gz
FTPCLientServer-49bde8258108057cff01dcef0c36d640373e2e79.tar.bz2
FTPCLientServer-49bde8258108057cff01dcef0c36d640373e2e79.tar.lz
FTPCLientServer-49bde8258108057cff01dcef0c36d640373e2e79.tar.xz
FTPCLientServer-49bde8258108057cff01dcef0c36d640373e2e79.tar.zst
FTPCLientServer-49bde8258108057cff01dcef0c36d640373e2e79.zip
Diffstat (limited to 'examples')
-rw-r--r--examples/LittleFSSample/LittleFSSample.ino7
-rw-r--r--examples/SPIFFSSample/SPIFFSSample.ino4
2 files changed, 5 insertions, 6 deletions
diff --git a/examples/LittleFSSample/LittleFSSample.ino b/examples/LittleFSSample/LittleFSSample.ino
index b6bfdd6..b5dc797 100644
--- a/examples/LittleFSSample/LittleFSSample.ino
+++ b/examples/LittleFSSample/LittleFSSample.ino
@@ -16,17 +16,16 @@
*/
#ifdef ESP8266
-#include <LittleFS.h>
#include <ESP8266WiFi.h>
#elif defined ESP32
#include <WiFi.h>
-#include <SPIFFS.h>
#endif
+#include <LittleFS.h>
#include <espFtpServer.h>
-const char *ssid PROGMEM = "";
-const char *password PROGMEM = "";
+const char *ssid PROGMEM = "YOUR_SSID";
+const char *password PROGMEM = "YOUR_PASS";
// tell the FtpServer to use LittleFS
FtpServer ftpSrv(LittleFS);
diff --git a/examples/SPIFFSSample/SPIFFSSample.ino b/examples/SPIFFSSample/SPIFFSSample.ino
index 6438afe..dce703c 100644
--- a/examples/SPIFFSSample/SPIFFSSample.ino
+++ b/examples/SPIFFSSample/SPIFFSSample.ino
@@ -25,8 +25,8 @@
#include <espFtpServer.h>
-const char *ssid PROGMEM = "";
-const char *password PROGMEM = "";
+const char *ssid PROGMEM = "YOUR_SSID";
+const char *password PROGMEM = "YOUR_PASS";
// Since SPIFFS is becoming deprecated but might still be in
// use in your Projects, tell the FtpServer to use SPIFFS