fun, Python http文件上传 web容器

切换到须要放文件的目录python

Python2curl

python -m SimpleHTTPServer 8000oop

 

Python3url

python -m http.server 8000server

 

文件上传:get

原文:http://stackp.online.fr/?p=28文件上传

 

启动文件上传服务:python /usr/local/droopy -m "hi,uploads"class

 

curl文件上传:curl -F "upfile=@/Users/yugj/Documents/hell/test/classes.dex" http://localhost:8000test

 

文件上传页面入口:http://localhost:8000/file

相关文章
相关标签/搜索