This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes How to access a file on another server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to access a file on another server?" Watch "How to access a file on another server?" New topic
Author

How to access a file on another server?

Donna Reschke
Greenhorn

Joined: Jul 05, 2001
Posts: 23
I have load balanced production servers. I have been told that our web farm set up a "shared" folder on both of these servers, meaning I could access this folder from both servers. What happens is the user logs on to server A and wants to view a file. If the file does not exist on server A, I then need to check server B to see if it exists there in the shared folder. I do not know how to do this. Can anyone help me?
Thanks, Donna
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

The easiest thing to do would be to just use your server operating system's capabilities: shared drives on Windows, NFS on UNIX/Linux, etc.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to access a file on another server?
 
Similar Threads
JDBC over LAN
How to access a shared folder on Windows system from Java application on Unix
Cannot create JDBC driver of class '' for connect URL 'null'
rsync in linux to scp
Regarding SMB protocal