Database
s3net20.txt
Associated article: Synchronize Now!
Tags: Database Web Development Mobile Design
Published source code accompanying the article by Eric Bergman-Terrell in which he uses Amazon.com's S3 web service and .NET 2.0's FtpWebRequest class to securely synchronize files on multiple machines. Also see S3NET20.ZIP.
Synchronize Now!
by Eric Bergman-Terrell
Listing One
...
class FTPDataTransfer : DataTransfer
{
...
private FtpWebRequest GetFtpWebRequest(string FTPAddress, string Method)
{
FtpWebRequest ftpWebRequest = null;
try
{
ftpWebRequest = (FtpWebRequest)WebRequest.Create(FTPAddress);
// Start a new FTP session.
ftpWebRequest.KeepAlive = false;
// Data will be transferred in binary ...


