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
trafficstars

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