Asp.net uses swfupload to upload large files

Source: Internet
Author: User

At the beginning of the month, the boss asked the website administrator to upload large files, but the fileupload control provided by Asp.net was a bit embarrassing ", so I searched for a full-day Asp.net upload control on the Internet and tried n different controls, such as lion. web. in terms of uploadmodule, aspnetupload, and the method of thinking, it is hard to find an aspnetupload 2.2, but it seems that this version does not support it. NET 2.0. Compilation is successful, but an error occurs when a webpage is opened. After being depressed for a long time, I found that aspnetupload 2.3 seems to be supported. NET 2.0, but not at all. The version 2.2 is everywhere. Finally, the official version 2.3 is available. It seems that only files smaller than 10 MB are supported, after it is available, it seems that it can support upload of several hundred megabytes of files, so this version is used.
After a few days, I accidentally found a very serious problem: If I refresh the webpage or open other links during the upload process, the CPU on the server will be 100%, and I haven't found a solution for a long time, almost let me crash. I had to give up trying other methods again.
Finally, I accidentally found this swfupload. Through flash implementation, both the interface and performance seem to be much better than previously used, and it is also open-source.
Swfupload is easy to use. I learned it without much time.

I made a swfupload example to share with you (using vs2008 C # passed the test under Vista SP1)

: Http://download.csdn.net/source/562595

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.