Hi Paul,

I've never tried to read a file directly from a remote machine because, frankly, it wouldn't occur to me due to accessibllity and/or performance. In these cases, I'd use FTP or something on an HTTP server on the remote side. JTOpen has FTP operations that work; I've even used them between two Windows machines, no AS/400 involved.

If those options aren't possible for some reason, google "java read remote file" and you'll see quite a few possibilities, but they do basically depend on system/network shares or accessibility.

HTH,


Joe Sam

Joe Sam Shirah - www.conceptgo.com (904) 302-6870
conceptGO - Consulting/Development/Outsourcing
Java Filter Forum: www.ibm.com/developerworks/java
Just the JDBC FAQs: www.jguru.com/faq/JDBC
Going International? www.jguru.com/faq/I18N
Que Java400? www.jguru.com/faq/Java400



-----Original Message----- From: Holm, Paul
Sent: Friday, February 21, 2014 12:07 PM
To: Java 400 List
Subject: Read a PC / Windows File From Java on IBM I

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
--

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.