SimpleFTPServer icon indicating copy to clipboard operation
SimpleFTPServer copied to clipboard

ESP32 Devkit V1 - SimpleFTPServer plus Ethernet W5500 plus Blynk

Open AAKFISHERMANN opened this issue 1 year ago • 4 comments

HI, I have a project using ESP32 DevKit V1 with Wiznet W5500 attached (SPI) plus Blynk. Using VScode and Platformio code doesn't compiles with this library attached (SimpleFTPServer.h). I got a lot of errors regarding WiFi and Ethernet... error: cannot declare field 'FtpServer::ftpServer' to be of abstract type 'WiFiServer' error: redefinition of 'class UIPServer' error: redefinition of 'class UIPUDP' Using these libraries: #include <Arduino.h> #include <SPI.h> #include <Ethernet.h> #include <EthernetUdp.h> #include <FS.h> #include <SD.h> #include <Wire.h> #include <RTClib.h> #include <HardwareSerial.h> #include <EEPROM.h> #include <NTPClient.h> #include <BlynkSimpleEthernet.h> #include <SimpleFTPServer.h>

AAKFISHERMANN avatar Feb 19 '24 12:02 AAKFISHERMANN

More one information: I tried these config lines on FtpServerKey.h: #define NETWORK_W5100 (4) // Standard Arduino Ethernet library #define NETWORK_ETHERNET (4) // Standard Arduino Ethernet library WiFi error codes solved... But not ethernet errors

AAKFISHERMANN avatar Feb 19 '24 12:02 AAKFISHERMANN

Please paste all FtpServerKey.h and your ino file. Thanks

xreef avatar Feb 19 '24 13:02 xreef

One question about SPIFFS version: I must have a partition with ota_0 , ota_1 and spiffs ok? spiffs partition must have space to allocate firmware.bin file right? Thanks

AAKFISHERMANN avatar Feb 20 '24 19:02 AAKFISHERMANN

Hi, Yes there isn't any problem for that. Bye Renzo

xreef avatar Feb 24 '24 10:02 xreef