Esempio n. 1
0
        public IFileSystem Create(string user, string password)
        {
            ////if (UserData.Instance.HasUser(user) && UserData.GetInstance().GetUserPassword(user) == password)
            ////{
            ////    return new StandardFileSystemObject(UserData.Instance.GetUserStartingDirectory(user));
            ////}

            string serverFolder = GameConfiguration.GetAppConfigString("FTPServerRootFolder");

            return(new StandardFileSystemObject(serverFolder));
        }