If your code is running on windows, you shouldn't need to do anything
special to access a UNC path as long as the process is running under a
user profile that has access to that share.

If you need to access it with a different set of credentials, then
something like JCIFS would probably work. If you can get away with
specifying just a path on the IFS rather than a UNC path, you could also
use JT400 to access the IFS. You could even setup FTP and access it from
Java that way. Maybe I don't fully understand what the problem is, but
there are many ways to accomplish what you are talking about.

Dan Feather
-----Original Message-----
From: java400-l-bounces+dfeather=jackhenry.com@xxxxxxxxxxxx
[mailto:java400-l-bounces+dfeather=jackhenry.com@xxxxxxxxxxxx] On Behalf
Of Coy Krill
Sent: Thursday, June 01, 2006 10:26 AM
To: Java Programming on and around the iSeries / AS400
Subject: RE: IFS share access from iSeries using UNC or drive mapping

To access the ifs as an UNC, I believe you will need to use JCIFS just
like
you would if you were attempting to access a Windows share. You'll find
it
at http://jcifs.samba.org. I've not had a call to use it myself, yet,
but
will later this year. If you go this route, I'd be interested in hearing
your experience with it.


Coy Krill
Systems Analyst
Whidbey Island Bank


-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Hayes, Joe
Sent: Wednesday, May 31, 2006 18:16
To: java400-l@xxxxxxxxxxxx
Subject: IFS share access from iSeries using UNC or drive mapping

BACKGROUND:
We're running WAS(5.1.1.9) on the i5 (v5r4), and have a batch process
running on Windows that connects to it.

We have need to access an IFS share from WebSphere running the iSeries.
Easy
enough - just reference the IFS folder name.

PROBLEM: The batch process running on Windows that needs to access the
same
file by the same name.

IOW: We need to be able to access the file as \\iseries\share\file.xml
<\\iseries\share\file.xml>  from the windows server, and also as
\\iseries\share\file.xml <\\iseries\share\file.xml>  from the iSeries,
or
perhaps as I:\file.xml from both.

Having written this, it's more of a general i5 question.  Going to
submit
with apologies anyway in case someone has encountered.

Thanks
Joe

--
This is the Java Programming on and around the iSeries / AS400
(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.

************************************************************************
The information in this e-mail is confidential and may be legally 
privileged. It is intended solely for the addressee. Access to 
this e-mail by anyone else is unauthorized. If you are not the 
intended recipient, any disclosure, copying, distribution or any 
action taken or omitted to be taken in reliance on it, is prohibited 
and may be unlawful.  
***********************************************************************

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.