You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems aioftp server cannot communicate with NCFTP, here is the client transcript:
NcFTP 3.2.5 (Feb 02, 2011) by Mike Gleason (http://www.NcFTP.com/contact/).
Connecting to 10.1.1.1...
welcome
Logging in...
normal login
'help' not implemented
Logged in to 10.1.1.1.
ncftp / > ls
Cannot parse PASV response: listen socket created
It stays stuck here, on server side I can read the following logs:
2021-10-08 21:03:51,221 DEBUG [aioftp.server] 150 list transfer started
2021-10-08 21:03:52,222 DEBUG [aioftp.server] 425 Can't open data connection
Hello,
It seems aioftp server cannot communicate with NCFTP, here is the client transcript:
It stays stuck here, on server side I can read the following logs:
I dig into the issue and came up with a workaround, the issue is here:
https://github.com/aio-libs/aioftp/blob/master/aioftp/server.py#L1437
Replacing
With
Make ncftp client work perfectly fine.
Sadly I do not see any easy way to fix this without inheriting and copy/pasting the whole pasv method, which is kinda bad.
What do you think about this incompatibility ?
Regards, Adam.
The text was updated successfully, but these errors were encountered: