If the destination computer can open the URI for publication, you can simply use
WebClient.UploadFile(Uri address, string filename)
It just simply requires a URI as an address (http, ftp, even a file protocol for transferring to a folder).
But this requires setting up the server side for publishing, but it will be platform independent on the server (for example, any old FTP server or web page or service that accepts a file using the POST method). However, security can be a problem to consider.
This is the use of the push model. WebClient can also be used on the other hand to download. It also supports the transfer of data streams, strings, etc.
tjmoore
source share