ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Access Windows File System from AS400

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Access Windows File System from AS400

    Greetings everyone,

    I am new to the forums. I have a Java program that resides on our iSeries 520.

    It needs to determine if a file exists on a Windows 2000 server. I am tried to use the following line of code try to access a file on the Windows server. It always returns false. If I run the application from within WebSphere Studio on my PC it returns true.

    Note: filename is a string variable that contains the full path and name of the file, that I am checking to see if it exisats.

    return (new File(filename)).exists();

    Does anyone know how to access Windows file directory from the AS400 using Java?

    Thanks in Advance,

    - chris

  • #2
    Re: Access Windows File System from AS400

    Look into The QNTC file system.
    "Time passes, but sometimes it beats the <crap> out of you as it goes."

    Comment

    Working...
    X