python -m SimpleHTTPServer
作者:互联网
Server
Enter the following sentence in Linux System.
python -m SimpleHTTPServer
The program output the following contents, indicates that the server is started, and listen on 8000.
Serving HTTP on 0.0.0.0 port 8000 ...
Client
Enter another server as a client, download the files from server in the directory the command python -m SimpleHTTPServer
is executed.
curl $SERVER_IP:8000/file > local-file
标签:SimpleHTTPServer,python,0.0,server,file,8000 来源: https://blog.csdn.net/houzhizhen/article/details/109995197