C# Class CSharpUtils.VirtualFileSystem.Ftp.FtpFileSystem

Inheritance: RemoteFileSystem
Exibir arquivo Open project: soywiz/csharputils Class Usage Examples

Public Properties

Property Type Description
RootPath String
_Ftp CSharpUtils.Net.FTP

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
FtpFileSystem ( ) : System
FtpFileSystem ( string Host, int Port, string Username, string Password, int timeout = 10000 ) : System
Shutdown ( ) : void
UploadFile ( String RemoteFile, String LocalFile ) : void

Protected Methods

Method Description
ImplCreateDirectory ( String Path, int Mode = 0777 ) : void
ImplDeleteFile ( string Path ) : void
ImplFindFiles ( string Path ) : IEnumerable
ImplGetFileInfo ( String Path ) : FileSystemEntry
RealPath ( String Path ) : String
_Connect ( ) : void

Method Details

Connect() public method

public 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

FtpFileSystem() public method

public FtpFileSystem ( ) : System
return System

FtpFileSystem() public method

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

ImplCreateDirectory() protected method

protected ImplCreateDirectory ( String Path, int Mode = 0777 ) : void
Path String
Mode int
return void

ImplDeleteFile() protected method

protected ImplDeleteFile ( string Path ) : void
Path string
return void

ImplFindFiles() protected method

protected ImplFindFiles ( string Path ) : IEnumerable
Path string
return IEnumerable

ImplGetFileInfo() protected method

protected ImplGetFileInfo ( String Path ) : FileSystemEntry
Path String
return FileSystemEntry

RealPath() protected method

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

Shutdown() public method

public Shutdown ( ) : void
return void

UploadFile() public method

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

_Connect() protected method

protected _Connect ( ) : void
return void

Property Details

RootPath public_oe property

public String RootPath
return String

_Ftp public_oe property

public FTP,CSharpUtils.Net _Ftp
return CSharpUtils.Net.FTP