Try OpenEdge Now
skip to main content
Developing WebSpeed Applications
Controlling WebSpeed Transactions : Handling Binary Large Objects (BLOBs) : Specifying maximum size of uploaded files
 

Specifying maximum size of uploaded files

Uploading a file as part of a Web request ties up the WebSpeed agent that processes the request. This might cause performance problems for your application if several large files are uploaded at the same time. The BLOB data type has a maximum size of 1 GB, so a single upload could lock an agent for a significant period.
To control this problem, you can specify a maximum size for uploaded BLOBs. The maximum size is set with the binaryUploadMaxSize property in the ubroker.properties file. You can set it on the Agent > Advanced Features page of the WebSpeed Transaction Server's Properties sheet, as shown:
The following table lists the results of various settings for the upload maximum size.
Table 14. binaryUploadMaxSize settings
Value
Result
Any negative value
The agent does not limit the size of uploaded BLOBs.
0
The agent does not accept uploaded BLOBs.
1 byte – 1GB
The agent accepts uploaded BLOBs up to this size.
Note: The limit applies separately to each file received in a single Web request. If your Web page can accept more than one file in a particular Web request, you should consider the performance impact of several files of that size being uploaded together.