Retrieving PDF from Web

Use this board for starting discussions, asking questions, and giving advice on RPG programming for the IBM i platform (and predecessors.)
devinst
Profound User
Posts: 80
Joined: Mon Apr 20, 2009 11:26 am
First Name: Devin
Last Name: St. Germain
Company Name: Dupre Logistics, LLC
Phone: 337.314.2259
Address 1: 201 Energy Pkwy. Ste. 500
City: Lafayette
State / Province: Louisiana
Zip / Postal Code: 70508
Country: United States
Contact:

Retrieving PDF from Web

Post by devinst »

I am receiving a list of URL in an XML document that point to a PDF on the web. Has anyone had any success in using the URL to retrieve the document and save it on the IFS?
Thanks.!!
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Retrieving PDF from Web

Post by Scott Klement »

My open source HTTPAPI tool can download URLs from RPG. IBM also has HTTP support in SQL that you could use...
devinst
Profound User
Posts: 80
Joined: Mon Apr 20, 2009 11:26 am
First Name: Devin
Last Name: St. Germain
Company Name: Dupre Logistics, LLC
Phone: 337.314.2259
Address 1: 201 Energy Pkwy. Ste. 500
City: Lafayette
State / Province: Louisiana
Zip / Postal Code: 70508
Country: United States
Contact:

Re: Retrieving PDF from Web

Post by devinst »

Right on target as always.!!! Tried it with my link and worked like a charm.
Thanks Scott!!
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests