Class SftpServer
- Namespace
- ArcanaDevelopment.adTempus.Client
- Assembly
- ArcanaDevelopment.adTempus.Client.dll
public sealed class SftpServer : FileServiceProvider, IFileServiceProviderSupportsProxy
- Inheritance
-
objectSftpServer
- 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
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
| Name | Type | Description |
|---|---|---|
password |
string |
SetPrivateKey(string)
public void SetPrivateKey(string key)
Parameters
| Name | Type | Description |
|---|---|---|
key |
string |
Inherited Members
- FileServiceProvider.ClassKeyName
- FileServiceProvider.IsDependent
- FileServiceProvider.ClassID
- FileServiceProvider.WriteToConfigurationReport(IADTObjectConfigurationReportWriter)
- FileServiceProvider.ServiceType
- FileServiceProvider.ServiceName
- FileServiceProvider.Enabled
- FileServiceProvider.Test(string)
- FileServiceProvider.IsCloudService
- FileServiceProvider.SupportsBackup
- ADTIndependentObject.Refresh()
- ADTIndependentObject.Revert()
- ADTIndependentObject.Save()
- ADTIndependentObject.Save(out MessageCollection)
- ADTIndependentObject.SaveWithAuditOrSnapshot(ChangeLogParameters)
- ADTIndependentObject.SaveWithAuditOrSnapshot(ChangeLogParameters, out MessageCollection)
- ADTIndependentObject.Delete()
- ADTIndependentObject.DeleteWithAuditOrSnapshot(ChangeLogParameters)
- ADTIndependentObject.GetSecurityDescriptor()
- ADTIndependentObject.ReplaceObjectReferences(string[], bool, int, IEnumerable<OID>, ADTObject, bool, ChangeLogParameters)
- ADTIndependentObject.GetObjectReferences(string[], bool, int)
- ADTIndependentObject.GetObjectReferences(string[], bool, int, OID[])
- ADTObject.LastModified
- ADTObject.CreationTimestamp
- ADTObject.FromController
- ADTObject.CustomProperties
- ADTObject.Description
- ADTObject.DescriptionTextType
- ADTObject.OID
- ADTObject.BindingDescription
- ADTObject.ToString()
- ADTObject.ParentObject
- ADTObject.CanPerform(SecurityPermission)
- ADTObject.Duplicate()
- ADTObject.DataContext
- ADTObject.AccessMask
- ADTObject.Validate(MessageCollection)
- ADTObject.SupportedSecurityActions
- ADTObject.SupportedSecurityInheritanceOptions
- ADTObject.GetTopLevelOwner()
- ADTObject.GetConfigurationReport()
- ADTObject.GetConfigurationReport(bool)
- ADTObject.IsReadOnly
- ObjectBase.IsDirty
- ObjectBase.IsNew
- ObjectBase.IsStub
- ObjectBase.ClassName
- ObjectBase.GetDescriptionWithClassName()
- ObjectBase.GetDescription()
- ObjectBase.BeginEdit()
- ObjectBase.BeginEdit(UndoLevelAction)
- ObjectBase.CommitEdit(Guid)
- ObjectBase.CommitEdit()
- ObjectBase.UndoEdit()
- ObjectBase.UndoEdit(Guid)