553 File name not allowed. Too long.
NaxGH opened this issue · comments
i try to transfer file with name "IMG2022-07-25_13.44.30.jpg" and got "553 File name not allowed. Too long." error
can you able to explain why?
it is only work with FileZilla? i try use ES Explorer (Android) it didn't work
Hi @Tri44,
can you give us some information about your test?
Bye Renzo
I try to download and upload file with name format like above i mention and got "553 File name not allowed. Too long." error
And i try to Up/Download with short name "IMG20220725_134430.jpg" and its work
It just my file name hit the allowed length of utf8 in this library i think?
Yes it's probably, what microcontroller and storage do you use?
I use ESP32CAM and 4GB Micro SD from Vega
I change in FtpServerKey.h
#define DEFAULT_STORAGE_TYPE_ESP32 STORAGE_SD
And in FtpServer.h
Remove <SPI.h>
Change <SD.h> to <SD_MMC.h>
Change STORAGE_MANAGER SD to STORAGE_MANAGER SD_MMC
Ah yes i use 1-bit mode by setting SD_MMC.begin("/sdcard", true);
Hi @Tri44,
I do multiple tests, and it seems that utf8 works correctly, I can't replicate it.
Bye Renzo
Tested in the current release.