Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Accessing files across a network

 
George Larry
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm developing an application that will be used on a semi-large intranet.
There are multiple servers and each of them share a similar cvs file that gives information relative to itself. Every file is located in the same location and has the same name.
I would like to make a page that lists all the servers on the network and allows you to select any of them and have that files text displayed.
Is this possible? I've done something similar in the past, but only with local files (to the client) and using ActiveX, or files located on the web server. I don't know how, or if it is possible to get network information (from either the client or the server- it doesn't matter which because it'll be the same either way)...
If anyone can help me out I would be most grateful.
Thank you.
 
Simon Harvey
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I'd be really surprised if that wasn't possible using a servlet. I know I can access a mapped network drive on my small home network but in a corporate setting it may be more complicated. I think maybe you should just give it a shot - reading from the local machine firstly and then just try and read a file from a mapped network drive?
Do you think that would be any good?
Good luck
Simon
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic