C# 클래스 GSF.Net.Ftp.FtpClient

상속: System.ComponentModel.Component
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf 1 사용 예제들

Private Properties

프로퍼티 타입 설명
OnBeginFileTransfer void
OnCommandSent void
OnEndFileTransfer void
OnFileTransferNotification void
OnFileTransferProgress void
OnResponseReceived void

공개 메소드들

메소드 설명
AbortTransfer ( ) : void

Aborts current file transfer.

Close ( ) : void

Closes current FTP session.

Connect ( string userName, string password ) : void

Connects to FTP server using specified credentials.

FtpClient ( ) : System

Constructs a new FTP session using the default settings.

FtpClient ( IContainer container ) : System

Initializes a new instance of the FtpClient class.

FtpClient ( bool caseInsensitive ) : System

Constructs a new FTP session using the specified settings.

SetCurrentDirectory ( string directoryPath ) : void

Changes the current FTP session directory to the specified path.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases the unmanaged resources used by the FtpClient object and optionally releases the managed resources.

비공개 메소드들

메소드 설명
OnBeginFileTransfer ( string localFileName, string remoteFileName, TransferDirection transferDirection ) : void
OnCommandSent ( string command ) : void
OnEndFileTransfer ( string localFileName, string remoteFileName, TransferDirection transferDirection ) : void
OnFileTransferNotification ( GSF.Net.Ftp.FtpAsyncResult transferResult ) : void
OnFileTransferProgress ( ProcessProgress fileTransferProgress, TransferDirection transferDirection ) : void
OnResponseReceived ( string response ) : void

메소드 상세

AbortTransfer() 공개 메소드

Aborts current file transfer.
public AbortTransfer ( ) : void
리턴 void

Close() 공개 메소드

Closes current FTP session.
public Close ( ) : void
리턴 void

Connect() 공개 메소드

Connects to FTP server using specified credentials.
public Connect ( string userName, string password ) : void
userName string User name used to authenticate to FTP server.
password string Password used to authenticate to FTP server.
리턴 void

Dispose() 보호된 메소드

Releases the unmanaged resources used by the FtpClient object and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void

FtpClient() 공개 메소드

Constructs a new FTP session using the default settings.
public FtpClient ( ) : System
리턴 System

FtpClient() 공개 메소드

Initializes a new instance of the FtpClient class.
public FtpClient ( IContainer container ) : System
container IContainer object that contains the .
리턴 System

FtpClient() 공개 메소드

Constructs a new FTP session using the specified settings.
public FtpClient ( bool caseInsensitive ) : System
caseInsensitive bool Set to true to not be case sensitive with FTP file and directory names.
리턴 System

SetCurrentDirectory() 공개 메소드

Changes the current FTP session directory to the specified path.
public SetCurrentDirectory ( string directoryPath ) : void
directoryPath string New directory.
리턴 void