0 pts.
 Accessing PDF file on IFS from Web browser
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

Software/Hardware used:
ASKED: September 20, 2006  11:38 AM
UPDATED: September 20, 2006  4:00 PM

Answer Wiki:
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
Last Wiki Answer Submitted:  September 20, 2006  4:00 pm  by  TomClukay   0 pts.
All Answer Wiki Contributors:  TomClukay   0 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _