By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,798 Members | 1,349 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,798 IT Pros & Developers. It's quick & easy.

Regarding retrieving pdf files from its URL

P: n/a
Hi
Iam trying to retrieve a PDF file from the URL I know.

Using URL in java, I am trying to connect to a file. By reading line
by line
I am writing into a new file, I am getting the required file. But for
a PDF
file I could not get the original file coz the format is different.

Is there any other way to connect to a PDF file knowing its URL and
get that file to save in my application.

Thanking you,
Hari.
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Liz
How are you trying to do it? PDF can contain binary.
"Hari Prasad" <ha******@yahoo.com> wrote in message
news:25**************************@posting.google.c om...
Hi
Iam trying to retrieve a PDF file from the URL I know.

Using URL in java, I am trying to connect to a file. By reading line
by line
I am writing into a new file, I am getting the required file. But for
a PDF
file I could not get the original file coz the format is different.

Is there any other way to connect to a PDF file knowing its URL and
get that file to save in my application.

Thanking you,
Hari.

Jul 17 '05 #2

P: n/a
Hari Prasad wrote:
Hi
Iam trying to retrieve a PDF file from the URL I know.

Using URL in java, I am trying to connect to a file. By reading line
by line
I am writing into a new file, I am getting the required file. But for
a PDF
file I could not get the original file coz the format is different.

Is there any other way to connect to a PDF file knowing its URL and
get that file to save in my application.


Don't read line by line, read byte by byte.

Ray
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.