bool ILoadBalancer.RegisterUser(string mail) { var result = FtpOperations.CreateFolder(mail); if (result[0] == '*') { return(false); } return(true); }
bool ILoadBalancer.CreateFolder(string localPath) { var result = FtpOperations.CreateFolder('#' + localPath); if (result[0] == '*') { return(false); } return(true); }