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).
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...