Accessing PDF file on IFS from Web browser

0 pts.
Tags:
Web development
We have a web application that calls an application on the iSeries to generate a PDF file in the IFS. How can I access the PDF on the IFS system? Is there a public location that the Web Application (running on the iSeries) can access the file? Thanks
ASKED: September 20, 2006  11:38 AM
UPDATED: September 20, 2006  4:00 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Create a directory on your IFS that is both set up as a NetServer share and is also configured as an accessible directory in your HTTP configuration file.

For example, our HTTP server configuration file includes a directive that enables the server to access the /wwwroot/htdocs directory of our IFS, where our PDFs are stored. We then set up a NetServer share to that same /wwwroot/htdocs directory that gave certain users access to the directory. Whenever an user with access to the directory updates a PDF, the changed document is then immediately available via the HTTP server.

If you have a program creating the PDF, you may not even need the NetServer share. You may just need to modify your HTTP server’s configuration file. Create a directive that points to the directory where the PDF is stored (/mypdffolder, for example), and you should then be able to access the document via your web browser by typing something like:

http://www.yourcompany.com/mypdffolder/mypdf.pdf

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following