Should work using either the (Windows) SMB client, aka /QNTC file system,
or Network File System (NFS).

I'd recommend NFS. If the PC is running windows, you'll need the optional
NFS client installed.

With NFS, you simply MOUNT a remote share ontop a local folder. The apps
running on the i, apache in this case, won't even know the file is remote.

With SMB, you're apache instance would have to use a path of
/QNTC/MYSERVER/MYSHARE/...

The problem with SMB is that the user profile the job is running under has
to match the Windows side.

Whereas with NFS, you can specify a user name/password during the mount.


Charles


On Fri, Feb 21, 2014 at 12:07 PM, Holm, Paul <pholm@xxxxxxxxxxxxxxxxx>wrote:

From a Java/Tomcat web app running on the IBM i, we are trying to access
and read PDF files stored on a PC server that is on the network. We are
are using java.io.File.

Anyone have experience/success with this?


Thanks, Paul Holm
--
--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing
list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.