C# 클래스 SSIS.Extensions.SFTP.SFTPConnection

This class is the SFTP interface to ssh net library.
파일 보기 프로젝트 열기: ElanHasson/SSIS-Extensions 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CreateFileInfo RemoteFileInfo
Log void
ThrowException void

공개 메소드들

메소드 설명
DownloadFiles ( List fileList ) : void

Downloads the files.

ListFiles ( string remotePath ) : List

Lists the files.

SFTPConnection ( string hostName, string userName, string passWord, int portNumber, bool stopOnFailure, IDTSComponentEvents componentEvents, LogLevel logLevel ) : Microsoft.SqlServer.Dts.Runtime

Initializes a new instance of the SFTPConnection class.

UploadFiles ( List fileList ) : void

Uploads the files.

비공개 메소드들

메소드 설명
CreateFileInfo ( SftpFile sftpFile ) : RemoteFileInfo
Log ( string Message, LogLevel minLogLevel ) : void

Logs the specified message.

ThrowException ( string Message, Exception ex ) : void

Throws the exception.

메소드 상세

DownloadFiles() 공개 메소드

Downloads the files.
/// Local File Already Exists. ///
public DownloadFiles ( List fileList ) : void
fileList List The file list.
리턴 void

ListFiles() 공개 메소드

Lists the files.
public ListFiles ( string remotePath ) : List
remotePath string The remote path.
리턴 List

SFTPConnection() 공개 메소드

Initializes a new instance of the SFTPConnection class.
public SFTPConnection ( string hostName, string userName, string passWord, int portNumber, bool stopOnFailure, IDTSComponentEvents componentEvents, LogLevel logLevel ) : Microsoft.SqlServer.Dts.Runtime
hostName string Name of the host.
userName string Name of the user.
passWord string The pass word.
portNumber int The port number.
stopOnFailure bool
componentEvents IDTSComponentEvents The component events.
logLevel LogLevel The log level.
리턴 Microsoft.SqlServer.Dts.Runtime

UploadFiles() 공개 메소드

Uploads the files.
Remote File Already Exists.
public UploadFiles ( List fileList ) : void
fileList List The file list.
리턴 void