aio-libs / aio-libs/aioftp

Cannot list files with FTP server from the 90s

Open
#126 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
211
Forks
63
PR merge metrics
No merged PRs in 30d

Description

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
[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
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.