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; }
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; }