In response to: XPages - Exceeding max file upload size - Can it be prevented?
There are a couple of things you'll need to do to enable your
XPages Application and Domino server to handle bigger attachment
sizes above 1mb.
You'll have to configure in the xsp.properties file for the XPages
runtime (xsp.upload.maximise=), or per application through the same
file, Application Properties and set the File Upload Options
You'll also have to set a higher level the HTTP stack accordingly
if the size is above 10Mb. This is configurable in the Server
document using the Admin client. I think that this is the 'Maximise
POST data' on the Internet Protocols\Domino Web Engine tabs.
And to get the error message returned to the user when they're
attempting to upload an attachment that exceeds the upload limit
add a 'Display Errors' control to your XPage. If you are happy with
the current or default upload limit then this is all you'l have to
do.
And if that doesn't work, it's a bug.
p.
Comments (0)