Exemple #1
0
 private Chilkat.Ftp2 SetInfomation(string host, int port, string username, string password)
 {
     Chilkat.Ftp2 ftp = new Chilkat.Ftp2();
     ftp.UnlockComponent(key);
     ftp.Hostname = host;
     ftp.Port = port;
     ftp.Username = username;
     ftp.Password = password;
     ftp.SetTypeAscii();
     return ftp;
 }