CURL集锦
时间:2006-04-07 来源:Digico
curl -D "/ITC/wwwroot-cailing/clsystemadmin/client/GK.txt" -d "spcode=608511&sppassword=sohu332416" "hl.12530.com:80/sp/login.do"
-D 将JSESSIONID 等值放入 GK.txt 文件中 curl -b "JSESSIONID=EC0AE12D30BA57B10AB68E558067B765;" -d "tonetype=0.5" "http://hl.12530.com/sp/UploadServlet?tonetype=0.5"
-b 带入JSESSIONID -d 以POST方式提交 curl -b "JSESSIONID=AAB5E9FBA659044518C09A18B2310271;" -F file1/childring_file/7/1/爱神厄洛斯的漫游.asf" "hl.12530.com/sp/UploadServlet"
-F 上传文件
-D 将JSESSIONID 等值放入 GK.txt 文件中 curl -b "JSESSIONID=EC0AE12D30BA57B10AB68E558067B765;" -d "tonetype=0.5" "http://hl.12530.com/sp/UploadServlet?tonetype=0.5"
-b 带入JSESSIONID -d 以POST方式提交 curl -b "JSESSIONID=AAB5E9FBA659044518C09A18B2310271;" -F file1/childring_file/7/1/爱神厄洛斯的漫游.asf" "hl.12530.com/sp/UploadServlet"
-F 上传文件
相关阅读 更多 +