You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by Ankit Rana <An...@nvish.com> on 2016/06/13 06:23:21 UTC
how to load file from url
hi, pls let me know how to load pdf file from url.
http:\www.hds.com\assets\pdf\hitachi-ucp-for-vmware-vsphere-solution-profile.pdf
Thanks & Regards,
[1462785827934_Screenshot_2.png]
Re: how to load file from url
Posted by Tilman Hausherr <TH...@t-online.de>.
Am 13.06.2016 um 08:23 schrieb Ankit Rana:
>
> hi, pls let me know how to load pdf file from url.
>
https://docs.oracle.com/javase/tutorial/networking/urls/readingURL.html
PDDocument doc = PDDocument.load(new
URL("https://www.hds.com/assets/pdf/hitachi-ucp-for-vmware-vsphere-solution-profile.pdf").openStream());
the URL below doesn't work like you typed it, please do it the way I did it.
Tilman
>
>
> http:\www.hds.com\assets\pdf\hitachi-ucp-for-vmware-vsphere-solution-profile.pdf
>
>
>
> * Thanks & Regards, ***
>
> 1462785827934_Screenshot_2.png
>