예제 #1
0
파일: OneUser.cs 프로젝트: jsakamoto/bjd5
 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;
 }
예제 #2
0
파일: OneUser.cs 프로젝트: schifflee/bjd5
 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;
 }