curl用法

curl使用方法:
    -o <filename> = -O
    -x <proxyip:port>
    -b <incookiefile> -D <outcookiefile>
    -A <useragentinfo> 例如"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"
    -e <referer> 例如 "mail.yahoo.com"
    curl -o #2_#1.jpg http://cgi2.tky.3web.ne.jp/~/[001-201].JPG
    -c断点续传
    -r 0-10240 分块下载
    -d "user=nickwolfe&password=12345" POST请求
    -F/--form <name=content> 上传文件/提交表单

猜你喜欢

转载自chuqq.iteye.com/blog/2156044