mtheall/ftpd

MLST command not standard compliant

Schaefers opened this issue · 5 comments

Describe the bug
According to the developers of my ftp client, the MLST command is not working properly: iterate-ch/cyberduck#14333 (comment).

https://www.rfc-editor.org/rfc/rfc3659#section-7.7.2

Screenshots

224006176-16e12467-c6ee-4786-bb51-7c8d78e44100

Platform (please complete the following information):

  • System Switch
  • System version 15.0.1
  • Launch method hbmenu v3.5.1
  • Type .nro

Affected code:

ftpd/source/ftpSession.cpp

Lines 2107 to 2110 in 9eba777

sendResponse ("250-Status\r\n"
" %s\r\n"
"250 End\r\n",
encodedPath.c_str ());

Try again with 38f9bde

My custom build crashes with error code 2144-0001 (0x290) - I switched to the previous commit and I'm getting the same error, so it must be related to my environment. I'm currently building in an Ubuntu arm64 virtual machine, because the devkit install seems to fail on macOS on a M2 device.
I'll try to build it on my Windows PC later.

Works fine, thank you!