How does form submit local files to qiniu to solve the problem of failing to obtain the user file path?

Source: Internet
Author: User
Form submits local files to qiniu. If you write the file path clearly, you can ,. If & amp; lt; inputtype & quot; file & quot; is used, it cannot be checked. It seems that the browser does not support obtaining the user file path ,,, but I have read qiniu's online example... What should I do? form submits a local file to qiniu. If you write the file path clearly, you can ,. If you use It seems that the browser does not support obtaining the user's file path, but I can check the qiniu online example again... What should I do?

I have encountered both form submission and asynchronous ajax submission.

The obtained path is c: \ fakepath \ xxxx.png.

Http://jssdk.demo.qiniu.io/
The sample code is different from the source code download.

Reply content:

Form submits local files to qiniu. If you write the file path clearly, you can ,. If you useIt seems that the browser does not support obtaining the user's file path, but I can check the qiniu online example again... What should I do?

I have encountered both form submission and asynchronous ajax submission.

The obtained path is c: \ fakepath \ xxxx.png.

Http://jssdk.demo.qiniu.io/
The sample code is different from the source code download.

Https://segmentfault.com/q/1010000004701...

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.