以前幫客戶設計網站時,遇到有需要透過Client端Web interface上傳檔案至Server端需求時,第一首選總會使用ASPSmartUpload,因為這是個既免費又好用的元件,不但有著不錯的穩定性,也有著許多善解人意、淺顯易懂的方法與函數,至今用了好幾年,久了久之,這物件在我心裡也就等於了唯一的上傳元件,習慣了某一樣東西就忘記了世上還有其他美好的東西值得發掘,當然創意與想法也因長期被某一種習慣所牽伴、停頓了。 在段等待當兵的日子裡,總是顯得無趣而沈悶,在沒有接CASE的時候就會想想以前的做的專案是否有功能上延伸的必要,今天突然想到如果當我們上傳很大的檔案(圖片、程式)時,等待的畫面總叫人無聊,如果能有個上傳進度的提示可以增添不少迎接完成的期待感,但是對於我現階段唯一使用的ASPSmartUpload而言,並沒有辦法偵測系統單一執行緒的完成度,在經過網路搜刮資料後,發現ASPUpload可以支援這一項功能,也突顯付費的產品總有比免費的偉大之處。 Progress Bar是ASPUpload 3.0 version後所提供的功能, 以HTML-based為基礎,並以pops up的方式顯示進度。 以下是來自官方的簡介 Starting with Version 3.0, AspUpload offers a unique feature: an HTML-based progress indicator which pops up upon the commencement of an upload and displays the current upload status including the percentage completed and time remaining information. Once an upload is finished or aborted by the user, the progress window automatically closes. This feature is particularly useful when uploading large (over 1 MB) files. The progress...