Connect to FTP server through http proxy

爱⌒轻易说出口 提交于 2019-12-04 15:03:52

You may try to send the FTP url directly to the HTTP proxy.

 f = urllib.request.urlopen('ftp://abc:xyz@host/my-file.ext')

Check also if other FTP clients or browsers succeed in iteracting with the FTP server. If they do, use a network sniffer like Wireshark and observe how they talk to the FTP server.

You may use a pasive FTP connection. It may be solves the problem

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!