DEXTUploadJ
DEXTUploadJ References > FileUpload > Method > setMaxTotalLength
setMaxTotalLength Method
- Version
- 1.0.1.0
- Environment
- Sun JDK1.4
- Target
- Upload
- Signature
- public void setMaxTotalLength(int nByteLength)
- Parameters
-
Name Signature Description nByteLength int File size (byte) - Return value
- Throws
- DEXTUploadException
- Description
-
Limits the total size value of uploaded files. (Ex: when uploading multiple files) Standard value is '2GB'. Possible to assign maximum of 2*1024*1024*1024-1(2GB).
- Usage
-
FileUpload fileUpload = new FileUpload(request, response); ...omitted... fileUpload.setMaxTotalLength(10*1024*1024);