求指导 web_custom_request 上传文件
本帖最后由 keneth 于 2013-9-12 16:20 编辑录制出来是:
web_custom_request("createUploadTask",
"URL=http://172.16.178.110:8080/ServerWS/services/ftpService/createUploadTask",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t8.inf",
"Mode=HTML",
"EncType=application/json",
"Body={\"taskID\":\"15\",\"fileName\":\"filename_130233608717128455",\"uploadDate\":\"2013-9-9 15:10:37\"}",
选择文件时,录制出来自动把文件名和路径变成filename_+时间戳了。这样在回放的时候实际就找不到真实文件了,有什么办法可以解决吗?我改为下面不行,仍然上传不了文件
。
修改为:
web_custom_request("createUploadTask",
"URL=http://172.16.178.110:8080/ServerWS/services/ftpService/createUploadTask",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t8.inf",
"Mode=HTML",
"EncType=application/json",
"Body={\"taskID\":\"15\",\"fileName\":\"E:\\data\\Msg2.0.db\",\"uploadDate\":\"2013-9-9 15:10:37\"}",
求助~~~~~~~~~~~~ 顶,求帮助
页:
[1]