コード例 #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;
 }