garbage

garbage

  • NA
  • 10
  • 23.1k

FtpClientConnection

Oct 18 2006 6:43 AM
I just would like to ask for a sample code that really works on Downloading or Receiving files from the FTP. I have these lines of code but seems like it don't work. FtpClientConnection myftpClientConn = null; public frmDbSynch() { InitializeComponent(); } private void btnDBSynch_Click(object sender, EventArgs e) { String[] remoteFileNames = { "myTestFolder", "myFTPFolder" }; String localPath = @"C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup"; myftpClientConn.ReceiveFiles(remoteFileNames, localPath, true, true); } thanks