SimpleFTPServer icon indicating copy to clipboard operation
SimpleFTPServer copied to clipboard

Why LittleFS has such a low FILENAME_LENGTH (32 chars)?

Open MrJake222 opened this issue 1 year ago • 1 comments

LittleFS has real directories instead of SPIFFS "paths with slashes", see (https://github.com/littlefs-project/littlefs/issues/353#issuecomment-566675488)

There is no limit on the path length other then the RAM and storage you have on your device. lfs_file_open makes sure to write the file name to disk and doesn't keep it around.

edit: talking about this value: https://github.com/xreef/SimpleFTPServer/blob/a655af49b52797d2092afc610fb7939d189e1c9e/FtpServer.h#L343

MrJake222 avatar Sep 15 '24 09:09 MrJake222

Hi, It's not for all, https://arduino-esp8266.readthedocs.io/en/latest/filesystem.html but I can change for the others. Bye Renzo

xreef avatar Sep 16 '24 15:09 xreef

I only see limitations for filenames not paths, and this FTP server limits full path length to 31 chars...

MrJake222 avatar Sep 29 '24 09:09 MrJake222