很久就想自己做一個檔案上傳的組件了。只是一直忙,也確實沒有那個動力。
就是採用隱含的HttpWorkerRequest實現的。
具體的實現原理與過程我就不細說了。畢竟這方面資料很多,而且My Code都貼上了。
可以通過顯式實現指定的介面,而後在設定檔中進行配置,即可實現自訂的檔案處理操作。
由於小弟水平有限,不足之處請大家指教。
測試的最大資料量是兩個檔案,共1.4G 。速度大約在6M-7M/s。
在HttpModule項目中,有個Readme.txt檔案,對如何使用進行了介紹。
資料部分是我學習時在網上找的資料,希望方便大家的學習!
/Files/fgq841103/代碼.rar
http://files.cnblogs.com/fgq841103/代ç .rar
/Files/fgq841103/資料.part01.rar
http://files.cnblogs.com/fgq841103/èµæ.part01.rar
/Files/fgq841103/資料.part02.rar
http://files.cnblogs.com/fgq841103/èµæ.part02.rar
/Files/fgq841103/資料.part03.rar
http://files.cnblogs.com/fgq841103/èµæ.part03.rar
/Files/fgq841103/資料.part04.rar
http://files.cnblogs.com/fgq841103/èµæ.part04.rar
/Files/fgq841103/資料.part05.rar
http://files.cnblogs.com/fgq841103/èµæ.part05.rar
/Files/fgq841103/資料.part06.rar
http://files.cnblogs.com/fgq841103/èµæ.part06.rar
/Files/fgq841103/資料.part07.rar
http://files.cnblogs.com/fgq841103/èµæ.part07.rar