- 博客(0)
- 资源 (4)
空空如也
Dsoframer.ocx 上传页面uploadfile.asp,PB+iis+asp测试通过
string ls_a
//初始化Http引擎,该方法用于初始化上传接口,不需要设置参数
o1.HttpInit();
//增加Post变量
//添加要提交的表单域, FieldName是要上传表单域名称,RecordID是表单域值它类似域表单域的<input type=text name=RecordID value=20060102200>
o1.HttpAddPostString("RecordID", "20060102200")
o1.HttpAddPostString("UserID","李局长");
//上传打开的文件
//添加当前Dsoframer编辑的文件给上传接口,该接口把文件模拟到成一个表单的文件域,并提交到处理页面。
//该接口模拟表单文件域如下:<input type=file name=FileData >
o1.HttpAddPostCurrFile("FileData", "")
//执行上传动作,如果页面出错,会返回相关返回值
ls_a=o1.HttpPost("http://xxxx.com/uploadfile.asp")
messagebox('',ls_a)
一直困扰大家的uploadfile.asp现在提供下载,本人亲测通过!
有疑问可发邮件[email protected]
2016-05-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人