I'm getting this error, when trying to convert online PDF to TXT.
-----
Sending POST to URL:
http://online.verypdf.com/app/onlineapi/?apikey=XXXXXXXXXXX&-format=2&inputfile=http://www.test.gov/cdrh_docs/pdf14/K141313.pdf&-lang=1&type=ocrsdk
----
Getting Back:
--------------------
info2: Error Code: 500
Detailed Message:
[Message] inputfile = http://www.test.gov/cdrh_docs/pdf14/K141313.pdf
[Message] apikey = XXXXXXXXXXX
[Message] outfilename on Server is: C:\temp\K14131320140813-050502.pdf
[Message] OutputFormat = 2
[Message] OutputFileType = txt
[Message] apikey = XXXXXXXXXXX
[Message] Input FileName = C:\temp\K14131320140813-050502.pdf
[Message] Input FileSize = 192571 Bytes
[Message] OutputFileType = txt
[Message] OutputFileName1 = C:\temp\K14131320140813-050502.txt
[Message] OutputFileName2 = C:\temp\K14131320140813_050502.txt
[Message] strCmd = "C:\VeryPDF\bin\online_ocr_sdk\ocrcmd.exe" -lang 1 -format 2 "C:\temp\K14131320140813-050502.pdf" "C:\temp\K14131320140813_050502.txt"
Active Server Pages error 'ASP 0113'
Script timed out
/ocrsdk.asp
The maximum amount of time for a script to execute was exceeded. You can change this limit by specifying a new value for the property Server.ScriptTimeout or by changing the value in the IIS administration tools.
[Message] OCR function was executed in 320.88 seconds.
[Error] Failed to get document URL.
Customer
----------------------------------
Thanks for your message, the trial version has a timeout limitation for big PDF file, so if your PDF file contain more pages or file size too big, "ocrsdk" will throw a timeout error, this limitation is exist in evaluation version only, the purchased version hasn't this limitation.
If you wish convert PDF file to text file on local system, you may download PDF to Text OCR Converter Command Line from following web page to try, you can use PDF to Text OCR Converter Command Line to convert both scanned PDF files and text based PDF files to text files easily,
https://www.verypdf.com/app/pdf-to-text-ocr-converter/try-and-buy.html
If you wish use Online OCR API to convert scanned PDF file to text file continue, you can subscribe VeryPDF Cloud API from following web page,
https://www.verypdf.com/online/cloud-api/try-and-buy.html
Once you subscribe VeryPDF Cloud API, you will able to use VeryPDF Cloud OCR API without any limitation.
Please refer to Cloud OCR API usage in VeryPDF Cloud API Platform from following web pages,
VeryPDF