Am 19.07.2016 um 22:31 schrieb Kiran Web:
Hi ,
I'm  using PDF box but for my scenario facing some challenges as explained 
belwo.
Trying to Extract the data from the url(using pdfbox code)  which having ".html" extension with 
"content type : Application/pdf" but getting the error like "Unable to open PDF Parser. Error: 
End-of-File, expected line" .

Same code I tried with the another url which having ".pdf" extension  that case 
the code works fine .
Could you please help me  how use pdf box to extract the data from the url with extension  
".html" having "content type : Application/pdf"

Maybe that URL doesn't have a PDF, rather a redirection page that loads the PDF. I suggest you download the URL content with the right mouse key and then open it with NOTEPAD++. Or just post the URL here.

Tilman


Thx & Rgrds,Kiran



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to