FileManagerCompressionMaxSize Property

Gets or sets the maximum allowed size to compress (per action). If not set (null), there will be no size limit for compression. 0 (zero) also means unlimited.

This property can be used to prevent users creating large zip files (or other compressed archive files in future) which is CPU intensive. It can be set in <Number> B/KB/MB/GB/TB format (eg. 1024 or 1024 B, 200 KB, 30 MB, 5 GB, 1 TB). Note that this value is the uncompressed size for the action because it's not possible to determine the compressed size before actually doing the compression.

Definition

Namespace: GleamTech.FileUltimate.AspNet.UI
Assembly: GleamTech.FileUltimate (in GleamTech.FileUltimate.dll) Version: 8.8.7
C#
public ByteSizeValue CompressionMaxSize { get; set; }

Property Value

ByteSizeValue

See Also