Python SimpleHTTPServerpython -m SimpleHTTPServer 9000切换到你要下载文件的目录执行上面的命令,9000为监听的端口,确保端口被防火墙放行,之后本地打开服务器ip加端口就可以访问这个简单的web页面,执行下载任务了。
参考资料:
https://www.digitalocean.com/community/tutorials/python-simplehttpserver-http-server#python-simplehttpserver