From 49bde8258108057cff01dcef0c36d640373e2e79 Mon Sep 17 00:00:00 2001 From: Daniel Plasa Date: Tue, 26 May 2020 18:30:45 +0200 Subject: use ESP.getMaxFreeBlockSize() / 2 as transfer buffer size for RETR use 2048 bytes for STOR --- examples/LittleFSSample/LittleFSSample.ino | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'examples/LittleFSSample/LittleFSSample.ino') 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 #include #elif defined ESP32 #include -#include #endif +#include #include -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); -- cgit v1.2.3