File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reading one file over network

 
kishukishor patil
Greenhorn
Posts: 23
Firefox Browser Java Oracle
  • 0
  • 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: 11833
181
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • 0
  • 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
  • 0
  • 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...


 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic