Gets or sets a maximum file size allowed for upload to the server.
Namespace:
Aurigma.ImageUploader
Assembly:
Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)
public long MaxFileSize { get; set; }
Type: System..Int64
The maximum size (in bytes) for files allowed for upload. If the value is 0
, then there is no limit.
When you set the value that is more than 2 Gb, it is recommended to pass such value as a string.
Default value is 0.
ActiveX/Java Uploader Express restricts the maximum size of each user-selected file to 100 Mb. ActiveX/Java UploaderProfessional restricts the maximum size of each user-selected file to 2 Gb. See the Upload Suite Editions topic for details.
This property limits only a single file. If you want to set limit for all selected files, use the MaxTotalFileSize property.