NowSource codeI hope it will be useful to you. Click here to download the source code.
Due to my mistake, I will testCodePut it on the Internet, so that many friends can not debug. Today, I tested the system completely and implemented uploading the 28m file under the default. Net configuration. The previous bug was modified: The last time the data was read, it took too long. The source code has been updated. please correct me.
During the test, create a directory named myupload under the C: root directory to store temporary files, and create a virtual directory named myupload in IIS to store the final files. Make sure that Asp.net has the corresponding operation permissions on these two directories. You can also modify these two directories in default. aspx. CS.
I passed the test in English XP + ASP. NET 2.0.
Thank you for your correction.