Re: This should be ridiculously simple, but....



"furby" <WookieTim@xxxxxxxxx> wrote in message
news:1170272861.728919.64280@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I need to write a java application that can open a connection to a PDF
file and copy it to the hard drive.

I *think* the way to do this is with a
"DataInputStream"/"DataOutputStream" process, but even if I convert
everything to byte format, the resulting copied files will not open in
Adobe Reader....

Can anyone help me? Has anyone don't this type of thing before?

Did you try http://www.rgagnon.com/javadetails/java-0064.html ?

- Oliver


.



Relevant Pages

  • Re: This should be ridiculously simple, but....
    ... everything to byte format, the resulting copied files will not open in ... Adobe Reader.... ... byte-for-byte copy of a PDF file (that the default ...
    (comp.lang.java.help)
  • Re: This should be ridiculously simple, but....
    ... furby wrote: ... the resulting copied files will not open in ... by "convert everything to byte format" because everything which a DIS reads is ... University of Leicester, Leicester, LE1 7RH, UK ...
    (comp.lang.java.help)
  • Re: This should be ridiculously simple, but....
    ... everything to byte format, the resulting copied files will not open in ... You may lose portability of your application to other platforms. ... HTH ...
    (comp.lang.java.help)