public FabulousFileServer() { fileSystem = new VirtualFileSystem(this); serverThread = new Thread(new ThreadStart(ListenThread)); checkThread = new Thread(new ThreadStart(CheckThread)); thumbWidth = 128; thumbnailFolder = new DirectoryInfo(DefaultthumbDirectory); contentFolder = new DirectoryInfo(DefaultContentDirectory); iconFolder = new DirectoryInfo(DefaultIconDirectory); tempFolder = new DirectoryInfo(DefaultTempDirectory); pageFile = new FileInfo(DefaultPageFile); ReloadPage = false; LoadPattern(); MOTD = "200 OK?"; }
public RealFolder(VirtualFileSystem fileSystem,string name, DirectoryInfo mappedDirectory) : base(fileSystem,name) { this.mappedDirectory = mappedDirectory; }
public VirtualFolder(VirtualFileSystem fileSystem, string name) { this.fileSystem = fileSystem; this.name = name; Visible = true; IsCanUploadFiles = false; }