C# Class CSharpUtils.VirtualFileSystem.Ssh.SftpFileSystem

Inheritance: RemoteFileSystem
Afficher le fichier Open project: soywiz/csharputils Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Connect ( string Host, int Port, string Username, string Password, int timeout = 10000 ) : void
DownloadFile ( String RemoteFile, String LocalFile = null ) : String
EnsureConnect ( ) : RemoteFileSystem
SftpFileSystem ( ) : System
SftpFileSystem ( string Host, int Port, string Username, string Password, int timeout = 10000 ) : System
Shutdown ( ) : void
UploadFile ( String RemoteFile, String LocalFile ) : void

Méthodes protégées

Méthode Description
ImplFindFiles ( String Path ) : IEnumerable
ImplGetFileInfo ( String Path ) : FileSystemEntry
RealPath ( String Path ) : String
_Connect ( ) : void

Method Details

Connect() public méthode

public Connect ( string Host, int Port, string Username, string Password, int timeout = 10000 ) : void
Host string
Port int
Username string
Password string
timeout int
Résultat void

DownloadFile() public méthode

public DownloadFile ( String RemoteFile, String LocalFile = null ) : String
RemoteFile String
LocalFile String
Résultat String

EnsureConnect() public méthode

public EnsureConnect ( ) : RemoteFileSystem
Résultat RemoteFileSystem

ImplFindFiles() protected méthode

protected ImplFindFiles ( String Path ) : IEnumerable
Path String
Résultat IEnumerable

ImplGetFileInfo() protected méthode

protected ImplGetFileInfo ( String Path ) : FileSystemEntry
Path String
Résultat FileSystemEntry

RealPath() protected méthode

protected RealPath ( String Path ) : String
Path String
Résultat String

SftpFileSystem() public méthode

public SftpFileSystem ( ) : System
Résultat System

SftpFileSystem() public méthode

public SftpFileSystem ( string Host, int Port, string Username, string Password, int timeout = 10000 ) : System
Host string
Port int
Username string
Password string
timeout int
Résultat System

Shutdown() public méthode

public Shutdown ( ) : void
Résultat void

UploadFile() public méthode

public UploadFile ( String RemoteFile, String LocalFile ) : void
RemoteFile String
LocalFile String
Résultat void

_Connect() protected méthode

protected _Connect ( ) : void
Résultat void