Hi!
I am writing a program to sync files with edtFTPnet. It worked rather well until i had a file on the server that had to be downloaded:
A piece of my test code:
ftpConnection = new FTPConnection();
ftpConnection.ServerAddress = ConfigurationManager.AppSettings["host"];
ftpConnection.UserName = ConfigurationManager.AppSettings["ftpLogin"];
ftpConnection.Password = ConfigurationManager.AppSettings["ftpPassword"];
ftpConnection.CommandEncoding = Encoding.GetEncoding("ISO-8859-1");
ftpConnection.Connect();
ftpConnection.TransferType = FTPTransferType.BINARY;
ftpConnection.DownloadFile(@"d:\temp\essay.jpg", @"\ess