HomeCommunityControl GalleryHttp RuntimeHttp ModulesAdverageous Net Upload

Adverageous Net Upload



Submit a Review

1,000 Downloads

23,447 Views


Description

Adverageous Net Upload is an HTTPModule for large file uploads. Includes an optional progress bar pop-up window.

Syntax Example

//New instance of the PrgData object AdverageousNetUpload.PrgData UpData = new AdverageousNetUpload.PrgData(); //Set unique ID for the PrgData object string uploadID = Guid.NewGuid().ToString(); UpData.UploadID = (uploadID); //Set Destination Folder: UpData.DestFolder = Server.MapPath(TemplateSourceDirectory) + "\\Uploads\\"; //Call method to save PrgData object UpData.SetUploadData(); //Write scripts for progress bar. Specify UniqueID used for PrgObject, //optionally a different Progress bar path than the current folder. WriteScripts(uploadID, ""); //Add an attribute to the upload form "submit" button, to call the script //which will launch the progress bar lnkUpload.Attributes.Add("onclick", "return CanUpload();");

Reviews

Submit a review