xreef / SimpleFTPServer

A simple FTP server for Arduino, ArduinoSAMD WiFiNINA, esp8266, esp32, stm32 and Raspberry Pi Pico W

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some file upload correctly but end up being 0 in size

MrJake222 opened this issue · comments

As title says, filezilla reports successful transfer but files are replaced with 0 sized files. Uploading with override all files.

Hi,
It's possible that there isn't enough space on the partition?
Bye Renzo

No, it's almost empty, upload via serial works... (Whole filesystem)

It's very strange, can you post the code/configuration and the devices you use?
Bye RM

Does the server bind to specific interface or IP? My bootup sequence is:

  • Open AP mode for 60 seconds, wait for connections
  • Here goes FtpServer::begin
  • If no station connects in said 60s, then go to station mode, disable AP mode
  • Connect to configured AP

HTTP server works after this. FTP server refuses connections for passive mode, active mode connects but does this weird thing.

edit:
Using generic ESP 8266 flash size 4MB, OTA enabled