Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to access a file on another server?  RSS feed

 
Donna Reschke
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 24215
37
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!