Call python download file

First file to be transferred to package
into the package directory run python command
python -m SimpleHTTPServer 8000
注意:ctrl+c退出连接会断开,不要退出!

Executed on the server needs to receive a file
wget IP: 8000 / extman.tar.gz

Use ctrl + c is disconnected after the transfer is complete the packaging server port

Guess you like

Origin blog.51cto.com/ywliyq/2447749