Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reading one file over network

 
kishukishor patil
Greenhorn
Posts: 23
Firefox Browser Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 11854
185
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
kishukishor patil
Greenhorn
Posts: 23
Firefox Browser Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic