.Net FTP download

December 17, 2007
Using WebClient class of .Net Framework, we can download file from ftp server in the following way - 

WebClient request = new WebClient();
request.Credentials =
new NetworkCredential(userName, password);

return
request.DownloadData(path);