C# Class BetterExplorer.Networks.FileSystem.NetworkFileSystem

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

Méthodes publiques

Méthode 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 méthode

public CloseConnection ( ) : void
Résultat void

CreateDirectory() public méthode

public CreateDirectory ( Directory dir ) : bool
dir Directory
Résultat bool

DeleteDirectory() public méthode

public DeleteDirectory ( Directory dir ) : bool
dir Directory
Résultat bool

DeleteFile() public méthode

public DeleteFile ( File file ) : bool
file File
Résultat bool

DownloadFile() public méthode

public DownloadFile ( File remotefile, string localdir, string localname ) : bool
remotefile File
localdir string
localname string
Résultat bool

GetChildren() public méthode

public GetChildren ( Directory dir ) : List
dir Directory
Résultat List

GetDirectory() public méthode

public GetDirectory ( string path ) : Directory
path string
Résultat Directory

GetRootDirectory() public méthode

public GetRootDirectory ( ) : Directory
Résultat Directory

RenameDirectory() public méthode

public RenameDirectory ( Directory dir, string name ) : bool
dir Directory
name string
Résultat bool

RenameFile() public méthode

public RenameFile ( File file, string newname ) : bool
file File
newname string
Résultat bool

UploadFile() public méthode

public UploadFile ( string localdir, string localname, Directory remotedir, string remotename ) : bool
localdir string
localname string
remotedir Directory
remotename string
Résultat bool