From b881b55092b2ad80e438243cd94dfffcb420d827 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Thu, 11 Jan 2024 12:35:24 +0100 Subject: [PATCH] add FTP server to Tasmota-4M (esp8266) (#20465) * add FTP server to esp8266 env > 1MB flash * ftp server only 4M Tasmota --- tasmota/include/tasmota_configurations.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tasmota/include/tasmota_configurations.h b/tasmota/include/tasmota_configurations.h index b55626794..a680dc89a 100644 --- a/tasmota/include/tasmota_configurations.h +++ b/tasmota/include/tasmota_configurations.h @@ -1047,6 +1047,17 @@ #define USE_UFILESYS #define GUI_TRASH_FILE #define GUI_EDIT_FILE + #ifdef ESP8266_4M + #ifndef USE_FTP + #define USE_FTP + #endif + #ifndef USER_FTP + #define USER_FTP "user" + #endif + #ifndef PW_FTP + #define PW_FTP "pass" + #endif + #endif // ESP8266_4M #define USE_SPI #define USE_SDCARD #define USE_PING