Go to: Warning-26490: file name in a multipart submit is missing or empty. Solution

Source: Internet
Author: User

Recording test Upload File Script, playback reports warning-26490: file name in a multipart submit is missing or empty. Using an empty file [msgid: MWAR-26490].

After several days of hard work, the problem was finally solved. First read the previous Script: web_submit_data ("generalreport. aspx_2 ",

"Action = http: // 192.168.0.80/pbcmsc/gaisuan/generalreport. aspx? Taskid = 0e1d66f8-4ecd-42a7-8f9e-e79f6733e992 ",

"Method = post ",

"Enctype = multipart/form-Data ",

"Reccontenttype = text/html ",

"Referer = http: // 192.168.0.80/pbcmsc/gaisuan/generalreport. aspx? Taskid = 0e1d66f8-4ecd-42a7-8f9e-e79f6733e992 ",

"Snapshot = t11.inf ",

"Mode = html ",

Itemdata,

"Name =__ eventtarget", "value =", Enditem,

"Name =__ eventargument", "value =", Enditem,

"Name =__ viewstate", "value = {siebel_analytic_viewstate6}", Enditem,

"Name =__ eventvalidation", "value =/wewbqli6ruccgkxyjgqcqlgqy6fbalq + 76dcwlt3oxma + v3krniiylpyq + 7wlq5k9a + ozs4", Enditem,

"Name = ddlversion", "value = release version", Enditem,

"Name = txtbelongtopackage", "value = good-3", Enditem,

"Name = txtdemo", "value =", Enditem,

"Name = fuprj", "value = F:" test1.bwbd5 "," file = yes ", Enditem,

"Name = mu2 $ multipfile", "value =", "file = yes", Enditem,

"Name = btnupload", "value = upload", Enditem,

"Name = dxpccommonwinws", "value = 1: 1: 12000: 237: 238: 0: 0: 0", Enditem,

Last );

 

By understanding the web_submit_data function and various parameters, it is found that both fuprj and mu2 $ multipfile are the paths for uploading attachments. I want to check whether fuprj is the first success. If mu2 $ multipfile is empty, it will fail, and this error is reported. assign an upload file (the value of mu2 $ multipfile is F: "test1.txt), and both are uploaded successfully!

Go to: Warning-26490: file name in a multipart submit is missing or empty. Solution

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.