|
URL方式
web_custom_request("uploadController.d", 。。。。。
把上面写的这一块换成下面的代码
web_submit_data("uploadController.d",
"Action=http://192.168.10.250:8081/p/uploadController.d",
"Method=POST",
"EncType=multipart/form-data",
"RecContentType=text/html",
"Referer=http://192.168.10.250:8081/p/oa/module/pi/userMail/oa_user_mail_send_add.jsp",
"Mode=HTTP",
ITEMDATA,
"Name=attach_form", "Value=OA_USERMAIL","File=no", ENDITEM,
"Name=attach_formId", "Value=40288a7a28b85c570128b8988ebf003b","File=no", ENDITEM,
"Name=autoattach_file_null_0", "Value=D:\\browser.reg","File=yes", ENDITEM,
"Name=autoattach_file_null_1", "Value=","File=yes", ENDITEM,
LAST); |
|