I need to read some data from a server, transfer it over the internet (no VPN), and write it to the disk of another server. I could have thought many choices, but in the end I implemented:
- The sender as windows service, that sends new data every X minutes
- The receiver as a WCF self hosted service, with WSHttpBinding.
- The data being transfered as a string, which is the object serialized to XML
But after I done that, I realized that there are many ways to do that:
- Other protocols such as FTP.
- Other bindings listed in http://msdn.microsoft.com/en-us/library/ms731092.aspx
- Other parameter types, such as the original object type.
And I wonder if any of these options would result in a faster, more reliable or more secure transfer. What would you recommend?