C# Class BetterExplorer.Networks.FileSystem.NetworkFileSystem

Network file system manager. This class communicates between the representations of the file system and the system online.
Mostrar archivo Open project: Gainedge/BetterExplorer

Public Methods

Method Description
CloseConnection ( ) : void
CreateDirectory ( Directory dir ) : bool
DeleteDirectory ( Directory dir ) : bool
DeleteFile ( File file ) : bool
DownloadFile ( File remotefile, string localdir, string localname ) : bool
GetChildren ( Directory dir ) : List
GetDirectory ( string path ) : Directory
GetRootDirectory ( ) : Directory
RenameDirectory ( Directory dir, string name ) : bool
RenameFile ( File file, string newname ) : bool
UploadFile ( string localdir, string localname, Directory remotedir, string remotename ) : bool

Method Details

CloseConnection() public method

public CloseConnection ( ) : void
return void

CreateDirectory() public method

public CreateDirectory ( Directory dir ) : bool
dir Directory
return bool

DeleteDirectory() public method

public DeleteDirectory ( Directory dir ) : bool
dir Directory
return bool

DeleteFile() public method

public DeleteFile ( File file ) : bool
file File
return bool

DownloadFile() public method

public DownloadFile ( File remotefile, string localdir, string localname ) : bool
remotefile File
localdir string
localname string
return bool

GetChildren() public method

public GetChildren ( Directory dir ) : List
dir Directory
return List

GetDirectory() public method

public GetDirectory ( string path ) : Directory
path string
return Directory

GetRootDirectory() public method

public GetRootDirectory ( ) : Directory
return Directory

RenameDirectory() public method

public RenameDirectory ( Directory dir, string name ) : bool
dir Directory
name string
return bool

RenameFile() public method

public RenameFile ( File file, string newname ) : bool
file File
newname string
return bool

UploadFile() public method

public UploadFile ( string localdir, string localname, Directory remotedir, string remotename ) : bool
localdir string
localname string
remotedir Directory
remotename string
return bool