|
本帖最后由 435111025 于 2012-11-11 16:57 编辑
抓到包后,删掉网盘的文件,再发包,就不行了。、永硕E盘上传文件
怎么回事呢,我看了紫川秀的POST上传,貌似没改什么东西啊。就成功了、
h t tp://ys-d.ys168.com/netup/n/u.asp?p=ub2hqb31299z6550638z42ld5y0&ly=435111025.ys168.com&fm=8
这是提交地址,去头空格
-----------------------------7dc1190206fc
Content-Disposition: form-data; name="f"; filename="新建 文本文档.txt"
Content-Type: text/plain
-----------------------------7dc1190206fc
Content-Disposition: form-data; name="fl"
-----------------------------7dc1190206fc
Content-Disposition: form-data; name="bt"
-----------------------------7dc1190206fc--
这是提交数据,空的文档
一下是返回的信息。
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
<title></title>
<style type="text/css">
#b {margin:0px;margin-top:2px;FONT-SIZE: 9pt;}
#f {height:21px!important;height:18px;width:180px;font-size: 9pt;border: 1px solid;background-color:#DCDCDC;}
</style>
</head>
<script language="JavaScript" type="text/javascript">
document.domain = qdhost();
var bh; var bj1; var bj2; var msg;
var bjc = ["#E2E2E2", "#ECCEEC", "#CECCEC", "#D3ECCC", "#CCE2F4", "#DFCCEC"];
var txc = ["#f4f4f4", "#FDE2F7", "#E4DAFC", "#E4FEE4", "#DDECFF", "#F1E3FD"];
function qdhost() { var x = document.domain.split("."); if (x.length == 3) return x[1] + "." + x[2]; return x[2] + "." + x[3]; }
function initIt() {
var dxken; var dfgxz;
s1 = location.search;
bh = s1.substr(1, 1);
msg = s1.substr(2, 1);
if (msg == 0) {
dfgxz = s1.substr(3, 1);
dxken = (s1.substr(4, 1) == 1) ? true : false;
} else {
dfgxz = parent.dfgxz;
dxken = parent.dxken;
}
$("l").innerHTML = (dxken) ? "File:" : "文件:";
$("b").style.backgroundColor = bjc[dfgxz - 1];
$("f").style.backgroundColor = txc[dfgxz - 1];
if (msg != 0) { parent._fup.jdgb(); parent._fup.fzt[bh] = true; }
if (msg == 3) { setTimeout("xzts();", 200); } else { if (msg != 0) { parent._fup.errjs(s1.substr(2)); } }
}
function xzts(){
var s1=location.search;
if(s1.length<4){alert("返回信息有误");return false;}
s1=s1.substr(3);
var n1=s1.indexOf(",");
parent.readxml("dqfile",s1.substr(0,n1),s1.substr(n1+1),"","");
}
function $(rid) {return document.getElementById(rid); }
window.onload = initIt;
</script>
<body id="b">
<form name="MyForm" method="post" enctype="multipart/form-data" action="">
<label id="l">文件</label><input type="file" name="f" id="f"/>
<input type="hidden" name="fl" value=""/>
<input type="hidden" name="bt" value=""/>
</form>
</body>
</html>
|
求助知识:请将问题描述清楚,最好把你有问题的源码打包上传上来,这样更方便大家帮助你。 友情提醒:本版被采纳的主题可在 申请荣誉值 帖子申请荣誉值,获得 3点 荣誉值,荣誉值可兑换荣誉会员、终身vip用户组。
|