欢迎来到Doc100.Net免费学习资源知识分享平台!
您的位置:首页 > 程序异常 >

cgi 上载,高手帮上忙,多谢

更新时间: 2014-01-05 02:03:37 责任编辑: Author_N1

 

cgi 下载求助,高手帮下忙,谢谢!
本帖最后由 luoyang24042030 于 2011-02-28 12:34:50 编辑 刚学CGI,请高手帮帮忙
前段时间用C语言做了个附件下载的CGI,当时测试OK,后来融入到整个项目时,发现下载速度为0,下载后PART文件无法与转化为目标文件,请大虾帮帮忙
抓包的数据如下:
POST /cgi-bin/export_setting.cgi HTTP/1.1

Host: 192.168.1.1

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13

Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

Accept-Language: zh-cn,zh;q=0.5

Accept-Encoding: gzip,deflate

Accept-Charset: GB2312,utf-8;q=0.7,*;q=0.7

Keep-Alive: 115

Connection: keep-alive

Referer: http://192.168.1.1/adm/settings.asp

Cookie: language=zhcn

Authorization: Basic YWRtaW46YWRtaW4=

Content-Type: multipart/form-data; boundary=---------------------------61721124329929

Content-Length: 149



-----------------------------61721124329929

Content-Disposition: form-data; name="Export"



......

-----------------------------61721124329929--

HTTP/1.0 200 OK

HTTP/1.1 200 OK
Pragma: no-cache
Cache-control: no-cache
Content-type: application/octet-stream;charset=utf-8
Content-Transfer-Encoding: binary
Content-Disposition: attachment; filename=backupSettings.dat

YSZJ....................................sfqEYZg.........................................................Mk.V............................................................................................................................................................................................................................................................................................................................................................................................................;...'...a. .A
=.8'
..5b8!..L?7'<]..&b6-]..?-"-.Of.'2).
.X.1*4..&.eB5..&.5%.\&..ypLXX.w^....<.5,...X.5;... &i)...<H.8..
&+;&0..7.eB-

&$;:.\>.qd}Ok.3,.'...16='.,.6'i.5"<X55&"..3&0:@QBbldfMk.3,.&...31?uMO\|rzxw.
<.3)...3;ixSQBbldB
..
2&!...+.0&.\\|rzxSQf%#:....=,0)..36,'uMO\|rzxw.
<.$8
..
7'-.\."2;-"..70^?..3"2$'.>.31'u
..='.8...%&^?..3"2$'.>.70"!..QX55&".."-1....=&1u6..".8!..f%#:.
..='.'
..?'i~Mk.3,.$O..
11:...o.f<
>.70"-.k.3,.$O..
7'-.\.`6$.... H#).>.`6$.
..!.8z..3"#';
.f%#:..S.".9'..QbH#).>.`6$...QbldfMO\X55&"
^&2.&...31?uMO\|rzxw.
<.8z..35# -
..orzxSQBbH#).>."6$....$'&u
..".'-... H#).>."6$.... .$8..3'11:w.
<.$8..3"#';@..&2.8...%&^?..3"2 8"..6'ixw.
<.$8..3;2ixSQBbldB
..
2$<
>.769).
QbldfMO\X55&"..&2./...%#-uMO\|rzxw

<.=8... .eqOO]dzzySPf>#:....?#'#@SYglf}HO^gwzxw..12.&...7&iyw..12.<...osmzSPZjlefLQ\X&<+
$.6.eqOO]dzzySPUkH0 ..!31?uOTY|pa}SSYgldB...".&!9..osmzSPZjlefLk.:!$...(<1iB...".5<..
+.eqOO]dzzySPf6*781.
!'ipKU\bH6$....65<..QbH'<
$.3 8-.\\X.8<.$.3 8-.\]X+3%
$.3 8-.\\X,5<8.
0.1,@Pf...'..*;. -.$.3 8-@Qf...'..*;. -.3.>''uw1. 6.'..
 &.&...7.dB-..&.;:
..6.!$..QX.5+;..&'&
...>'ixw,
1.=$....78-.\f.'2).
..+&-
..>.;$...or^.0;)<#6$.\\X...41-6&&-..QX..u>28
rdpw/8..1:.....iB35<.;:+@k(.......;&1:@k(...uw%(...+...<6iB9%"..5;... &iB>..<6&1/..;-:uLk/=7:<..>7%='. .3,0uIk/=7:<../=&1u>/f.1'!./.?.eB.2%.si.>&Ajsm|<Yf.+&-...!.;,.\UX.,....or^....<'8uLPf.#'!.3
上一篇:上一篇
下一篇:下一篇

 

随机推荐程序问答结果

 

 

如对文章有任何疑问请提交到问题反馈,或者您对内容不满意,请您反馈给我们DOC100.NET论坛发贴求解。
DOC100.NET资源网,机器学习分类整理更新日期::2014-01-05 02:03:37
如需转载,请注明文章出处和来源网址:http://www.doc100.net/bugs/t/5157/
本文WWW.DOC100.NET DOC100.NET版权所有。