Table of Contents

Class SftpServer

Namespace
ArcanaDevelopment.adTempus.Client
Assembly
ArcanaDevelopment.adTempus.Client.dll
public sealed class SftpServer : FileServiceProvider, IFileServiceProviderSupportsProxy
Inheritance
object
SftpServer
Implements

Fields

DefaultPort

public const int DefaultPort = 22

Field Value

int

Properties

ClientIPAddress

public string ClientIPAddress { get; set; }

Property Value

string

ClientIdentifier

public string ClientIdentifier { get; set; }

Property Value

string

ConnectionRetryDelay

public TimeSpan ConnectionRetryDelay { get; set; }

Property Value

TimeSpan

FilenameCharset

public string FilenameCharset { get; set; }

Property Value

string

ForceCipher

public string ForceCipher { get; set; }

Property Value

string

ForceV3

public bool ForceV3 { get; set; }

Property Value

bool

HostCertificateThumbprint

public string HostCertificateThumbprint { get; set; }

Property Value

string

MaxConnectionRetries

public int? MaxConnectionRetries { get; set; }

Property Value

int?

MaxOperationRetries

public int? MaxOperationRetries { get; set; }

Property Value

int?

NetworkTimeout

public TimeSpan NetworkTimeout { get; set; }

Property Value

TimeSpan

OperationRetryDelay

public TimeSpan OperationRetryDelay { get; set; }

Property Value

TimeSpan

PasswordSet

public bool PasswordSet { get; }

Property Value

bool

Port

public int? Port { get; set; }

Property Value

int?

PreserveTimestampOnDownload

public bool PreserveTimestampOnDownload { get; set; }

Property Value

bool

PreserveTimestampOnUpload

public bool PreserveTimestampOnUpload { get; set; }

Property Value

bool

PrivateKeySet

public bool PrivateKeySet { get; }

Property Value

bool

ProxySettings

public FileServiceProxySettings ProxySettings { get; }

Property Value

FileServiceProxySettings

ReadTimeout

public TimeSpan ReadTimeout { get; set; }

Property Value

TimeSpan

ServerAddress

public string ServerAddress { get; set; }

Property Value

string

UseTempFile

Determines whether a temporary file will be used during uploads

public bool UseTempFile { get; set; }

Property Value

bool

Remarks

If true adTempus will upload to a temporary file and then rename the temporary file to the final name after upload completes. If false the file will be uploaded directly to the final name.

This setting is only valid for adTempus server version 5.0 or later. For earlier versions use the global option "FileTransfer:UseTempFileForUpload" to control this behavior.

UserID

public string UserID { get; set; }

Property Value

string

ValidateServerCertificate

public bool ValidateServerCertificate { get; set; }

Property Value

bool

Methods

SetPassword(string)

public void SetPassword(string password)

Parameters

NameTypeDescription
password string

SetPrivateKey(string)

public void SetPrivateKey(string key)

Parameters

NameTypeDescription
key string

Inherited Members