NeatUpload Documentation

UploadModule Class

Provides an API (via its static members) that upload controls can use to access the currently installed upload module. The members of this class mostly delegate to the corresponding members of the IUploadModule that is installed in the <httpModules> section of the Web.config.

For a list of all members of this type, see UploadModule Members.

System.Object
   Brettle.Web.NeatUpload.UploadModule
      Brettle.Web.NeatUpload.MultiRequestUploadModule

public class UploadModule

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

When IsEnabled returns true, an IUploadModule is installed in the <httpModules> section of the Web.config and will handle POST requests to the current request's URL that have a Content-Type header of "multipart/form-data" and contain a post-back ID in one of the following locations:

For requests that specify a post-back ID, the module can also use "protected" configuration information associated with a particular file if the file field is preceded in the request by a field with a name consisting of the value ConfigFieldNamePrefix followed by the files key in Files collection (typically the uploading control's UniqueID).

In addition, BindProgressState provides information concerning the progress of the upload, CancelPostBack tells the module it should ignore the remainder of the upload, SetProcessingState associates an arbitrary object with an upload after it has been received but before the end of the request, and ConvertToUploadedFile to convert an HttpPostedFile into an UploadedFile

Requirements

Namespace: Brettle.Web.NeatUpload

Assembly: Brettle.Web.NeatUpload (in Brettle.Web.NeatUpload.dll)

See Also

UploadModule Members | Brettle.Web.NeatUpload Namespace