The original version can only be used for 30 days. This cracked version can be used for a long time (the time is set to 2010-2110 ).
Registration control:
<%@ Register TagPrefix="fup" Namespace="OboutInc.FileUpload" Assembly="FileUpload" %>
Call controls:
<Form runat = "server" id = "form1"> <input type = "file" name = "myfile1"/> <br/> <input type = "file" name = "myfile2"/> <br/> <input type = "file" name = "myfile3"/> <br/> <asp: linkbutton runat = "server" text = "Upload"/> & nbsp; <asp: linkbutton runat = "server" text = "cancel" onclientclick = "cancel (); Return false;"/> <br/> <FUP: fileuploadprogress onclientprogressstopped = "function () {alert ('file uploaded ');} "Progress =" clear "onclientserverexception =" serverexception "showuploadedfiles =" true "runat =" server "id =" uploadprogress "innerfiles =" true "stylefile =" fup_styles/mystyle.css "localizationfile = "fup_localization/en. XML "/>
Background code:
OboutFileCollection files = uploadProgress.Files; for(int i=0; i < files.Count; i++){ OboutPostedFile file = files[i]; file.SaveAs(MapPath("~/Uploaded/"+Path.GetFileName(file.FileName)));}
File structure:
:FileUploadProgress.rar