File size limit

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
    • /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">
       <!-- 2 GB minus 1 KB (in bytes) -->
       <requestLimits maxAllowedContentLength="2147482624" />

26.03.2024 13:49:49

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.