aspose file tools*
The moose likes Distributed Java and the fly likes Reading one file over network Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Reading one file over network" Watch "Reading one file over network" New topic
Author

Reading one file over network

kishukishor patil
Greenhorn

Joined: Nov 20, 2008
Posts: 23

Actually i do not know how to read one file over the network. Please anyone help how to o this... oe else provide some links...
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11424
    
  85

Probably the easiest way is to serve it up via a web server. For example, you can see this file (which provides information on a release of slackware) simply because someone put the file in a location served by a web-server (according to the headers, they use the apache web server for the purpose).


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
kishukishor patil
Greenhorn

Joined: Nov 20, 2008
Posts: 23

Thanks Andrew, I have created program using simple file classes. In that i have passed the file name with the network path. The program run properly...


 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Reading one file over network