ciao a tutti
sto cercando di fare una connessione ftp
FtpWebRequest _FtpRequest = (FtpWebRequest)
WebRequest.Create("ftp://www.xxx.it/");
_FtpRequest.Credentials = new NetworkCredential("xxx", "xxx" );
_FtpRequest.Method = WebRequestMethods.Ftp.ListDirectoryDetails;
FtpWebResponse _FtpResponse = (FtpWebResponse)_FtpRequest.GetResponse();
StreamReader sr = new StreamReader(_FtpResponse.GetResponseStream(), System.Text.Encoding.ASCII);
areaserver.Text =sr.ReadToEnd();
mi da quest' errore:
Errore del server remoto: 227 Entering Passive Mode (193,68,233,50,6,121).