C# 클래스 Dev2.Data.PathOperations.Dev2FTPProvider

상속: IActivityIOOperationsEndPoint
파일 보기 프로젝트 열기: Warewolf-ESB/Warewolf

공개 메소드들

메소드 설명
AcceptAllCertifications ( object sender, X509Certificate certification, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool
CreateDirectory ( IActivityIOPath dst, Dev2CRUDOperationTO args ) : bool
Delete ( IActivityIOPath src ) : bool

Public entry point to this method

Get ( IActivityIOPath path, List filesToCleanup ) : Stream
HandlesType ( enActivityIOPathType type ) : bool
ListDirectory ( IActivityIOPath src ) : IList
ListFilesInDirectory ( IActivityIOPath src ) : IList

Get folder listing for source

ListFoldersInDirectory ( IActivityIOPath src ) : IList

Get folder listing for source

PathExist ( IActivityIOPath dst ) : bool
PathIs ( IActivityIOPath path ) : enPathType
PathSeperator ( ) : string
Put ( Stream src, IActivityIOPath dst, Dev2CRUDOperationTO args, string whereToPut, List filesToCleanup ) : int
RequiresLocalTmpStorage ( ) : bool

비공개 메소드들

메소드 설명
BuildSftpClient ( IActivityIOPath path ) : SftpClient
BuildTempFileName ( ) : string
BuildValidPathForFtp ( IActivityIOPath src, string fileName ) : string
ConvertSslToPlain ( string path ) : string

Converts the SSL automatic plain.

CreateDirectorySftp ( IActivityIOPath dst ) : bool
CreateDirectoryStandardFtp ( IActivityIOPath dst ) : bool
DeleteHandler ( IList pathStack, string user, string pass, string privateKeyFile ) : void
DeleteOp ( IActivityIOPath src ) : bool
DeleteUsingSftp ( IActivityIOPath src ) : bool
DeleteUsingStandardFtp ( IActivityIOPath src ) : bool
EnableSsl ( IActivityIOPath path ) : bool
ExtendedDirList ( string path, string user, string pass, bool ssl, bool isNotCertVerifiable, string privateKeyFile ) : string
ExtendedDirListSftp ( string path, string user, string pass, string privateKeyFile ) : string
ExtendedDirListStandardFtp ( string path, string user, string pass, bool ssl, bool isNotCertVerifiable ) : string
ExtractDirectoryList ( string basePath, string payload ) : List

Extract dirs from dir list

ExtractFileList ( string basePath, string payload ) : List

Extract files from dir list

ExtractFileNameFromPath ( string path ) : string
ExtractHostNameFromPath ( string path ) : string
GetParts ( string payload ) : string[]
IsDirectory ( string part ) : bool
IsDirectoryAlreadyPresent ( IActivityIOPath path ) : bool
IsDirectoryAlreadyPresentSftp ( IActivityIOPath path ) : bool
IsDirectoryAlreadyPresentStandardFtp ( IActivityIOPath path ) : bool
IsFilePresent ( IActivityIOPath path ) : bool
IsFilePresentSftp ( IActivityIOPath path ) : bool
IsFilePresentStandardFtp ( IActivityIOPath path ) : bool
IsStandardFtp ( IActivityIOPath path ) : bool
ListDirectorySftp ( IActivityIOPath src ) : IList
ListDirectoryStandardFtp ( IActivityIOPath src ) : IList
ReadFromFtp ( IActivityIOPath path, Stream &result ) : void
ReadFromSftp ( IActivityIOPath path, Stream &result, List filesToCleanup ) : void
WriteToFtp ( Stream src, IActivityIOPath dst ) : int
WriteToSftp ( Stream src, IActivityIOPath dst ) : int

메소드 상세

AcceptAllCertifications() 공개 메소드

public AcceptAllCertifications ( object sender, X509Certificate certification, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool
sender object
certification System.Security.Cryptography.X509Certificates.X509Certificate
chain System.Security.Cryptography.X509Certificates.X509Chain
sslPolicyErrors SslPolicyErrors
리턴 bool

CreateDirectory() 공개 메소드

public CreateDirectory ( IActivityIOPath dst, Dev2CRUDOperationTO args ) : bool
dst IActivityIOPath
args Dev2.PathOperations.Dev2CRUDOperationTO
리턴 bool

Delete() 공개 메소드

Public entry point to this method
public Delete ( IActivityIOPath src ) : bool
src IActivityIOPath
리턴 bool

Get() 공개 메소드

public Get ( IActivityIOPath path, List filesToCleanup ) : Stream
path IActivityIOPath
filesToCleanup List
리턴 Stream

HandlesType() 공개 메소드

public HandlesType ( enActivityIOPathType type ) : bool
type enActivityIOPathType
리턴 bool

ListDirectory() 공개 메소드

public ListDirectory ( IActivityIOPath src ) : IList
src IActivityIOPath
리턴 IList

ListFilesInDirectory() 공개 메소드

Get folder listing for source
public ListFilesInDirectory ( IActivityIOPath src ) : IList
src IActivityIOPath
리턴 IList

ListFoldersInDirectory() 공개 메소드

Get folder listing for source
public ListFoldersInDirectory ( IActivityIOPath src ) : IList
src IActivityIOPath
리턴 IList

PathExist() 공개 메소드

public PathExist ( IActivityIOPath dst ) : bool
dst IActivityIOPath
리턴 bool

PathIs() 공개 메소드

public PathIs ( IActivityIOPath path ) : enPathType
path IActivityIOPath
리턴 enPathType

PathSeperator() 공개 메소드

public PathSeperator ( ) : string
리턴 string

Put() 공개 메소드

public Put ( Stream src, IActivityIOPath dst, Dev2CRUDOperationTO args, string whereToPut, List filesToCleanup ) : int
src Stream
dst IActivityIOPath
args Dev2.PathOperations.Dev2CRUDOperationTO
whereToPut string
filesToCleanup List
리턴 int

RequiresLocalTmpStorage() 공개 메소드

public RequiresLocalTmpStorage ( ) : bool
리턴 bool