Javascript-how to deal with the front-end of large file upload?

Source: Internet
Author: User
Including resumable upload and so on.

Reply content:

Including resumable upload and so on

The WebUploader of Baidu front-end uses multipart upload, which may solve your problem.

Resumable data transfer can only be implemented through plug-ins or independent applications.

Another advantage of using the plug-in for upload is that the customer can determine the weight locally, which not only makes the customer feel "Second transmission" fast, but also reduces the server load.

You can use the slice Cutting Technology in the html5 file API to achieve your desired purpose. For more information, see the official documentation.

Plupload
WebUploader

The idea of resumable data transfer is worth learning from.PluploadIt can handle various upload requirements (including cross-browser file sharding). In addition, the frontend and backend must coordinate with each other on the interface to implement resumable upload.

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.