aspose file tools*
The moose likes Applets and the fly likes load PDF file from website Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "load PDF file from website" Watch "load PDF file from website" New topic

load PDF file from website

Andrew Cho
Ranch Hand

Joined: Jun 29, 2011
Posts: 50
Hey all,

I am writing a program that reads from PDF files. It runs sucessfully when I read from PDF files that are on the local system. However, the goal of this is to read PDFs from a http or https site.
I keep getting this message:

I am using the PDFBox from apache.
Here's a little code that doesn't work with the http url but works with the system path:

Any ideas?

Andrew Cho
Ranch Hand

Joined: Jun 29, 2011
Posts: 50

really simple fix. I just needed to replace


I agree. Here's the link:
subject: load PDF file from website
Similar Threads
Conversion of Pdf Data to Text Data
getting problem while indexing pdf files with pdfbox with lucene
PDFBox throws OutOfMemory error
How to extract text from a pdf file in android emulator
PDF file indexing and Searching using lucene