FTP and Telnet: working yet ?
-
I've documented the list of supported FTP commands at https://duet3d.com/wiki/FTP_commands_supported.
-
Thanks !!! 8-)
-
I've documented the list of supported FTP commands at https://duet3d.com/wiki/FTP_commands_supported.
I must be doing something wrong as on my Duet 0.6 only the following commands work (the rest just show invalid command)
DELE
MKD
TYPE
USERGET and PUT are excepted but not in your list, but they require PASV which also doesn't work
-
PASV does work, but you can only have one connection to the main port plus one connection to the passive port. Some FTP clients default to using multiple connections if you don't configure them. The client I use is FileZilla.
-
Yep, FileZilla works for me. too.
I was using WinSCP which can't get a directory listing on connect. Looks like FileZilla is my new client program …
Rick
-
Got WinSCP to work.
Had to disable UTF-8 encoding for filenames, Use MLSD for filenames, and Support for hidden filenames.
All three options were set to Auto.
Rick
-
Strange, the firmware uses UTF8 throughout.
-
-
Because the FTP client needs to recognise dir and ls as commands that it recognises and translates to LIST.
-
Honestly, I haven't used ftp for years, so I don't remember all the details, but I think the [c]Unknown command[/c] may have to do with the full command [c]ls[/c] or [c]dir[/c] translates to (by the client). For instance, I have an habit of entering [c]ls -l[/c] even though I know I shouldn't. And after I do that, pretty much nothing works
[[language]] ftp> ls -l ---> PASV ---> LIST -l Unknown command. ftp> ls ---> PASV Unknown command. ---> PORT 192,168,4,14,230,94 Unknown command. ---> LIST