FileServerUser.SetFileSystem Method
Namespace: Rebex.Net.Servers
Assembly: Rebex.FileServer.dll (version 8.0.9673)
SetFileSystem(FileSystemProvider, String)
Sets custom file system.
Declaration
public void SetFileSystem(FileSystemProvider provider, string virtualRootPath = null)
Parameters
| Type | Name | Description |
|---|---|---|
| FileSystemProvider | provider | File system provider.
Set this to an instance of class derived from ReadWriteFileSystemProvider
or ReadOnlyFileSystemProvider provided by |
| String | virtualRootPath | Path to be used as virtual root directory. |
Remarks
The provider argument can be null. In this case, the virtual root path is a local file system path.