Exemple #1
0
 public OneUser(FtpAcl ftpAcl, string userName, string password, string homeDir)
 {
     FtpAcl = ftpAcl;
     UserName = userName;
     Password = password;
     //ホームディレクトリの指定は、必ず最後が\\になるようにする
     if (homeDir[homeDir.Length - 1] != '\\'){
         homeDir = homeDir + "\\";
     }
     HomeDir = homeDir;
 }
Exemple #2
0
 public OneUser(FtpAcl ftpAcl, string userName, string password, string homeDir)
 {
     FtpAcl   = ftpAcl;
     UserName = userName;
     Password = password;
     //ホームディレクトリの指定は、必ず最後が\\になるようにする
     if (homeDir[homeDir.Length - 1] != '\\')
     {
         homeDir = homeDir + "\\";
     }
     HomeDir = homeDir;
 }