LIST shall returns file name but actually full path for STORAGE_SD
cat-in-136 opened this issue · comments
cat_in_136 commented
LIST shall returns file names but actually full path in case of STORAGE_TYPE == STORAGE_SD.
Expected ftp command response text:
ftp> cd foo
250 Directory changed to /foo
ftp> ls
227 Entering Passive Mode (xxx,xxx,xxx,xxx,195,89)
150 Accepted data connection to port 50009
-rw-rw-r-- 1 esp32 67077 Jan 01 00:00 bar.dat
226 1 matches total
Actual ftp command response text:
ftp> cd foo
250 Directory changed to /foo
ftp> ls
227 Entering Passive Mode (xxx,xxx,xxx,xxx,195,89)
150 Accepted data connection to port 50009
-rw-rw-r-- 1 esp32 67077 Jan 01 00:00 /foo/bar.dat
226 1 matches total
Renzo Mischianti commented
Thanks, @cat-in-136,
now I'm on holiday, so I can't test in all environments and core versions of your change, but when I return home I integrate your change.
Thanks again Renzo