C# Класс Dev2.Data.PathOperations.Dev2FTPProvider

Наследование: IActivityIOOperationsEndPoint
Показать файл Открыть проект

Открытые методы

Метод Описание
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