File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 24184
    
  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?