Gets or sets the value that specifies allowed extentions of uploading files.
Namespace:
EasyAlgo.EAUploadAssembly: EasyAlgo.EAUpload (in EasyAlgo.EAUpload.dll)
Version: 1.3.1.0
Syntax
| C# |
|---|
public string AllowedFileExtentions { get; set; } |
| Visual Basic (Declaration) |
|---|
Public Property AllowedFileExtentions As String |
Field Value
Type: System..::.StringA String that specifies allowed extentions of uploading files. Default value is empty string (all files extentions are allowed). Use comma ',' to delimit different extentions.
Remarks
This property is a reflection of EAUpload configuration parameter (<EasyAlgo.EAUpload>/<Environment ... AllowedFileExtentions="" ... >).
All files with not allowed extentions will not be processed. All rejected files as instances of RejectedFile class are storred in RejectedFileCollection.
Note:If you want to change this property at the runtime, you can define its at the Initializing stage or at the Uploading stage of an upload (see EasyAlgo.EAUpload..::.UploadState for more information).
Also if you have change this property for the whole of EAUpload component (EAUploadModule..::.CommonEnvironment property), then new value will take effect for the all processing and new uploads.
All files with not allowed extentions will not be processed. All rejected files as instances of RejectedFile class are storred in RejectedFileCollection.
