Maximum size of each file sent through each FineReader Server 14 Web API endpoint

When sending files via the Web Services API, please note the following recommendations for the size of your files.

The recommended maximum file size is 512 MB for the following SOAP and REST API methods:

  • SOAP
    • StartProcessFile
    • StartProcessTicket
  • REST API
    • /api/workflows/{workflowName}/input/file
    • /api/workflows/{workflowName}/input/files
    • /api/workflows/{workflowName}/input/ticket

 Note. For larger files, we recommend that you use /api/workflows/{workflowName}/input/multipart. For this method, the maximum combined size of the file being sent and the maxAllowedContentLength request is 2,147,482,624 bytes (i.e. 2 GB minus 1 KB).

You can increase the maximum size limit by modifying the maxRequestLength and maxAllowedContentLength values in the Web.config file (the default location of this file is C:\Program Files\ABBYY FineReader Server 14.0\FineReaderServerWS). You will need to restart the ABBYY FineReader Server 14 Application Pool for the changes to take effect.

 Note. The maxRequestLength value should be specified in kilobytes, while the maxAllowedContentLength value should be specified in bytes.

...
<httpRuntime maxRequestLength="2097151" requestPathInvalidCharacters="&lt;,&gt;,*,:,\" />
...
<requestFiltering allowDoubleEscaping="true">
<!-- 2GB minus 1KB (in bytes) -->
<requestLimits maxAllowedContentLength="2147482624" />
</requestFiltering>

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.

Recently viewed