It's not uncommon to encounter FTP servers which are misconfigured and return unroutable host IP (eg. internal IP) when using passive mode
See: https://superuser.com/a/1195591
Most FTP clients such as FileZilla and WinSCP use a workaround when they encounter such servers and connect to user's specified host instead.
> Command: PASV
> Answer: 227 Entering Passive Mode (10,250,250,25,219,237).
> Status: Server sent passive reply with unroutable address. Using server address instead.
Currently Python's ftplib simply timeouts for these and doesn't work. |