Table of Contents

Class SFTPServiceDefinition

Namespace
ArcanaDevelopment.adTempus.Shared.FileOperations
Assembly
ArcanaDevelopment.adTempus.Shared.dll
[DataContract]
public class SFTPServiceDefinition : FileServiceProviderDefinition
Inheritance
object
SFTPServiceDefinition

Constructors

SFTPServiceDefinition()

public SFTPServiceDefinition()

Fields

ClientIPAddress

[DataMember]
[ExtensionMember(IncludeInSearch = true, IncludeInProjection = true)]
public string ClientIPAddress

Field Value

string

ClientIdentifier

[DataMember]
[ExtensionMember(IncludeInSearch = true, IncludeInProjection = true)]
public string ClientIdentifier

Field Value

string

ConnectionRetryDelay

Delay (in seconds) between reconnection attempts.

[DataMember]
[ExtensionMember(IncludeInSearch = false, IncludeInProjection = true)]
public int? ConnectionRetryDelay

Field Value

int?

FilenameCharset

[DataMember]
[ExtensionMember(IncludeInSearch = false, IncludeInProjection = true)]
public string FilenameCharset

Field Value

string

ForceCipher

[DataMember]
[ExtensionMember(IncludeInSearch = false, IncludeInProjection = true)]
public string ForceCipher

Field Value

string

ForceV3

[DataMember]
[ExtensionMember(IncludeInSearch = false, IncludeInProjection = true)]
public bool ForceV3

Field Value

bool

HostKeyFingerprint

The expected host key fingerprint.

[DataMember]
[ExtensionMember(IncludeInSearch = false, IncludeInProjection = true)]
public string HostKeyFingerprint

Field Value

string

Remarks

If HostKeyFingerprint is specified, the connection will fail if the host key does not match. If no HostKeyFingerprint is specified, adTempus will not verify the identity of the server.

MaxConnectionRetries

Maximum number of times to retry failed connections.

[DataMember]
[ExtensionMember(IncludeInSearch = false, IncludeInProjection = true)]
public int? MaxConnectionRetries

Field Value

int?

Remarks

If the connection fails, adTempus will make MaxConnectionRetries attempts to reconnect it.

MaxOperationRetries

[DataMember]
[ExtensionMember]
public int? MaxOperationRetries

Field Value

int?

NetworkTimeout

[DataMember]
[ExtensionMember(IncludeInSearch = false, IncludeInProjection = true)]
public int? NetworkTimeout

Field Value

int?

OperationRetryDelay

[DataMember]
[ExtensionMember(IncludeInSearch = false, IncludeInProjection = true)]
public int? OperationRetryDelay

Field Value

int?

Port

[DataMember]
[ExtensionMember(IncludeInSearch = false, IncludeInProjection = true)]
public int Port

Field Value

int

PreserveTimestampOnDownload

[DataMember]
[ExtensionMember(IncludeInSearch = false, IncludeInProjection = true)]
public bool PreserveTimestampOnDownload

Field Value

bool

PreserveTimestampOnUpload

[DataMember]
[ExtensionMember(IncludeInSearch = false, IncludeInProjection = true)]
public bool PreserveTimestampOnUpload

Field Value

bool

PrivateKeyFileName

The kind of key to use.

[DataMember]
[ExtensionMember(IncludeInSearch = false, IncludeInProjection = true)]
public string PrivateKeyFileName

Field Value

string

Remarks

If a PrivateKeyType is set, the key is read using the following settings: If PrivateKeyFileName is set, the key is read from the specified file on the server. If PrivateKeyFileName is not set, the key is read from FileServiceProvider.PrivateKey. If FileServiceProvider.PrivateKeyPassword is set, that is treated as the password for reading a password-protected private key. If FileServiceProvider.PrivateKeyPassword is not set, the private key must not be password-protected.

ReadTimeout

[DataMember]
[ExtensionMember(IncludeInSearch = false, IncludeInProjection = true)]
public int? ReadTimeout

Field Value

int?

ServerAddress

[DataMember]
[ExtensionMember(IncludeInSearch = true, IncludeInProjection = true)]
public string ServerAddress

Field Value

string

ServiceTypeName

public const string ServiceTypeName = "sftp"

Field Value

string

ValidateServerCertificate

[DataMember]
[ExtensionMember(IncludeInSearch = false, IncludeInProjection = true)]
public bool ValidateServerCertificate

Field Value

bool

Properties

ServiceType

public override string ServiceType { get; }

Property Value

string

Inherited Members