MaxFileSize Property

Object: XFFileCollection
Syntax: XFFileCollection.MaxFileSize [= File Size in Bytes as Long]
Type: Long
Read/Write: Read/Write
Description: Sets or returns the maximum file size allowed for upload. By default, MaxFileSize is set to 0, that is, there is no limit on the size of file a user can upload.
Example: The following prevents the upload of files that are larger than 100 bytes.
FileCollection.MaxFileSize = 100

Copyright © 2010 SoftArtisans, Inc. All rights reserved.