It depends on the location. If you are using the client-server model, and the files are located on some server, not on the client's host, you need some service which would deliver the files on request. So, on the server host you need to run FTP server, HTTP server (a Web service or a Web site, a Web application) or some custom service capable of delivering files. Is this is what you have, you can get files programmatically using the class
System.Net.FtpWebRequest
or System.Net.HttpWebRequest, respectively. Please see:
http://msdn.microsoft.com/en-us/library/system.net.webrequest.aspx[
^],
http://msdn.microsoft.com/en-us/library/system.net.ftpwebrequest.aspx[
^],
http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.aspx[
^].
The similar situation if is you are using a file service based model, but in this case you already have some file service; so you would not need to do anything special. And if you are using it all on one computer, the situation is trivial; so I don't think you were asking about that.
—SA