Intersoft WebTextEditor Documentation
Limit upload size and total upload size
See Also Send Feedback
Intersoft WebTextEditor > WebFileUploader > Features > Limit upload size and total upload size

Glossary Item Box

In most cases, your application would need to limit the upload size of an individual file for security and resource management purpose. By default, WebUploader doesn't set upload size limit.

To customize upload size limit, please set UploadSizeLimit property to an integer value with the scale of byte.

In addition, WebFileUploader also enables you to limit the total size of all uploaded files. When it reach the maximum size, it will abort the current file being uploaded and cancel the rest pending uploads.

To configure total upload size limit, please set TotalUploadSizeLimit property to an integer value with the scale of byte.

The following example shows a WebFileUploader with individual upload size configured to 10 kilobytes and total upload size to 100 kilobytes.

<ISWebTextEditor:WebFileUploader ID="WebFileUploader1" runat="server" 
TotalUploadSizeLimit="100000" UploadSizeLimit="10000">
</ISWebTextEditor:WebFileUploader>

See Also

©2013. All Rights Reserved.