Posted: 16 May 2016 14:56 EDT Last activity: 18 Nov 2016 16:25 EST
Max file upload size using dynamic system setting
In the attachments How can i restrict the file upload size using DSS? i have achieved file restriction through customize the "AttachFile" activity, but i wanted to achieve through DSS without customizing the "AttachFile" activity. Please help.
We have prconfig setting. Not sure whether DSS works fine or not.
Functionality: This entry holds the size, in MB, of the largest file that can be uploaded into the PegaRULES database. NOTE: Files larger than 25MB are not recommended for uploading into the database. Files of this size put a strain on the system, and increase the chance that the server will spend all its time loading and unloading files (making the system look like it's under a denial-of-service attack).
If a user attempts to upload a file larger than this setting, the following error will occur:
"HTTP Status 413 - User attempted to upload a file larger than 25 MB. Please contact the System Administrator."
If you attempt to upload a ZIP file when the ServiceExport directory already contains a file of that name, a prompt appears. Click to confirm that you want to overwrite the existing file.
Using this facility, by default, you cannot use this form to upload a ZIP file larger than 1GB. This is an intentional design restriction on the HTTP file copy facility, not a limit on the rule import processing. For larger files, use File Transfer Protocol (FTP) or another means to place the file into the ServiceExport directory. Alternatively, you can set a higher (or lower) upload limit on your system by changing the value for the Initialization/MaximumFileUploadSizeMB parameter in the prconfig.xml file.