1、服务器端: cd 目标文件所在目录 python -m SimpleHTTPServer 开启http服务的端口号 2、客户端: wget http://服务器ip:服务器http服务的端口号/文件名称