aioftp icon indicating copy to clipboard operation
aioftp copied to clipboard

Cannot list files with FTP server from the 90s

Open eLvErDe opened this issue 3 years ago • 1 comments

Hello,

Could you please explain me what I'm supposed to do to workaround this issue ? If I understood other tickets correctly, the issue comes from MLSD not being supported but I read somewhere you're doing fallback to LIST, but it does not seem to happen here...

Thanks in advance !

[aioftp.client] 220-
[aioftp.client]  XX    XXX XXX XXXXXXXXX X        XX     XX XXX   --------------
[aioftp.client]  - X-- X--- X----- X---- XX------- XX-- XX-- X--- www.imatix.com --
[aioftp.client]  -- X X---- X----- X---- X X------ X X X X-- X---  (c) 1991-98   --
[aioftp.client]  --- X----- X----- X---- X- X----- X- X- X-- X---                --
[aioftp.client]  -- X X---- X----- X---- XXXXX---- X---- X-- X--- Windows - OS/2 --
[aioftp.client]  - X-- X--- X----- X---- X--- X--- X---- X-- X--- UNIX - OpenVMS --
[aioftp.client]  XXX    XX XXX    XXX   XXX   XXX XXX   XXX XXX   --------------
[aioftp.client] 
[aioftp.client]  Ready for login.  All accesses to this server are logged.
[aioftp.client] 220 Xitami FTP 2.4d9 (c) 1991-98 iMatix <http://www.imatix.com>
[aioftp.client] USER username
[aioftp.client] 331 Password required for user username
[aioftp.client] PASS *****
[aioftp.client] 230 User username logged-in
[aioftp.client] TYPE I
[aioftp.client] 200 Command okay
[aioftp.client] EPSV
[aioftp.client] 500 'EPSV' is not a valid command
[aioftp.client] PASV
[aioftp.client] 227 Entering Passive Mode (10,1,1,1,7,208)
[aioftp.client] MLSD
[aioftp.client] 500 'MLSD' is not a valid command
[aioftp.client] TYPE I
[aioftp.client] 200 Command okay
[aioftp.client] EPSV
[aioftp.client] 500 'EPSV' is not a valid command
[aioftp.client] PASV
[aioftp.client] 425 Can't open data connection
[aioftp.client] QUIT
[aioftp.client] 221-
[aioftp.client]  Thank you for using this Xitami webserver.
[aioftp.client] 221 User username signed-off

eLvErDe avatar Aug 26 '20 14:08 eLvErDe

Please provide simplified client code to see what configuration is used.

pohmelie avatar Aug 28 '20 11:08 pohmelie