博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
SimpleHTTPServer
阅读量:4284 次
发布时间:2019-05-27

本文共 243 字,大约阅读时间需要 1 分钟。

server端 (IP:192.168.1.2)

 

1. 在想要share的資料夾下面 (Ex:/home/XXX/)

 裡面有檔案123.text

python -m SimpleHTTPServer (default port 8000)

 

2.python -m SimpleHTTPServer 9999

 

client端

1. wget http://192.168.1.2:8000/123.text

2.wget http://192.168.1.2:9999/123.text

转载地址:http://xasgi.baihongyu.com/

你可能感兴趣的文章