예제 #1
0
 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?";
 }
예제 #2
0
 public RealFolder(VirtualFileSystem fileSystem,string name, DirectoryInfo mappedDirectory)
     : base(fileSystem,name)
 {
     this.mappedDirectory = mappedDirectory;
 }
예제 #3
0
 public VirtualFolder(VirtualFileSystem fileSystem, string name)
 {
     this.fileSystem = fileSystem;
     this.name = name;
     Visible = true;
     IsCanUploadFiles = false;
 }