C# Class CSharpUtils.VirtualFileSystem.RemoteFileSystem

Inheritance: ImplFileSystem
Show file Open project: soywiz/csharputils Class Usage Examples

Protected Properties

Property Type Description
Host string
Password string
Port int
Username string
timeout int

Public Methods

Method Description
Connect ( string Host, int Port, string Username, string Password, int timeout = 10000 ) : void
DownloadFile ( String RemoteFile, String LocalFile = null ) : String
EnsureConnect ( ) : RemoteFileSystem
GetTempFile ( ) : String
RemoteFileSystem ( ) : System
RemoteFileSystem ( string Host, int Port, string Username, string Password, int timeout = 10000 ) : System
TryInitialize ( ) : void
UploadFile ( String RemoteFile, String LocalFile ) : void

Protected Methods

Method Description
RealPath ( String Path ) : String

Method Details

Connect() public abstract method

public abstract Connect ( string Host, int Port, string Username, string Password, int timeout = 10000 ) : void
Host string
Port int
Username string
Password string
timeout int
return void

DownloadFile() public method

public DownloadFile ( String RemoteFile, String LocalFile = null ) : String
RemoteFile String
LocalFile String
return String

EnsureConnect() public method

public EnsureConnect ( ) : RemoteFileSystem
return RemoteFileSystem

GetTempFile() public method

public GetTempFile ( ) : String
return String

RealPath() protected method

protected RealPath ( String Path ) : String
Path String
return String

RemoteFileSystem() public method

public RemoteFileSystem ( ) : System
return System

RemoteFileSystem() public method

public RemoteFileSystem ( string Host, int Port, string Username, string Password, int timeout = 10000 ) : System
Host string
Port int
Username string
Password string
timeout int
return System

TryInitialize() public method

public TryInitialize ( ) : void
return void

UploadFile() public method

public UploadFile ( String RemoteFile, String LocalFile ) : void
RemoteFile String
LocalFile String
return void

Property Details

Host protected property

protected string Host
return string

Password protected property

protected string Password
return string

Port protected property

protected int Port
return int

Username protected property

protected string Username
return string

timeout protected property

protected int timeout
return int