SftpSettings Class
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9083)
Specifies various SFTP settings.
Syntax
public class SftpSettings : IFtpSettings, ICloneable
Inherited Members
Constructors
Name | Description |
---|---|
SftpSettings() | Creates a new instance of SftpSettings. |
Properties
Name | Description |
---|---|
CustomCommand | Gets or sets a custom command to start SFTP subsystem. |
DisableFxpStatWorkaround | Gets or sets a value that disables workaround for a SSH_FXP_STAT command, which is known not to work correctly on some servers. |
DisablePathNormalization | Gets or sets a value that disables normalization of paths passed to all commands (paths are used unchanged). |
DisableProgressPercentage | Disables progress percentage reporting through TransferProgressChanged event. |
DisablePutFileZeroOffsetTruncate | Gets or sets a value that specifies whether Sftp.PutFile method truncates files when a zero remote offset is specified. |
DisableRealPathWorkaround | Gets or sets a value that disables WS FTP server workaround when opening remote directory. |
DisableSftp4 | Disable SFTP v4 and only use v3. |
DisableTransferQueue | Disable queuing of read and write requests. |
DownloadBufferSize | Sets the size of data packets used during download. Supported sizes are 4 KB to 48 KB. |
DownloadQueueLength | Sets the length of packed queue for downloads. |
EnableBrokenDirectoryStatWorkaround | Gets or sets a value that enables workaround for broken SSH_FXP_STAT request (fails on directories on 'DataPowerSSH' servers). |
EnableBrokenRealPathWorkaround | Gets or sets a value that enables workaround for broken SSH_FXP_REALPATH command used to determine a canonical path when changing or creating a directory. |
EnableChecksumVerification | Gets or sets a value indicating whether to perform checksum verification after successful file transfer. Not available for methods with Stream arguments, the checksum is computed from file on disk. Use PreferredChecksumAlgorithm to specify the preferred checksum algorithm. |
EnableDirectoryAsFileWorkaround | Gets or sets a value that enables workaround for buggy servers (such as AWS FTP Transfer with S3 storage) that report some directories as files in response to SSH_FXP_STAT requests. |
EnableFileSync | Gets or sets a value indicating whether to synchronize file changes after successful file transfer by calling 'fsync' when a file has been uploaded, ensuring that all file data has been transferred to the storage device. Only supported when 'fsync@openssh.com' extension is available. |
EnableMissingCreateTimeWorkaround | Gets or sets a value that enables workaround for broken SSH_FXP_STAT response that include CREATETIME flag even though the field itself is missing (as observed with ProFTPd's 1.3.6 mod_sftp module). |
EnableSignaturePadding | Enable padding of RSA private key signatures (workaround for SSH servers that got the padding wrong). |
EnsureKeyAcceptable | Announce public key to the server before performing key authentication. |
GetFileOpenRemoteFirst | Gets or sets a value that specifies whether to open the remote file first while downloading (before opening the local file). |
IgnoreCloseErrors | Gets or sets a value that specifies whether to ignore failed SSH_FXP_CLOSE requests. |
LogChecksums | Gets or sets a value that makes the client calculate checksums of files being uploaded and logs them into the log. |
MultiFileLinkMode | Gets or sets the default processing mode of detected links in multi-file operations. |
MultiFileMoveMode | Gets or sets the default move behavior in multi-file transfers. |
PostponeChannelClose | Postpone channel close requests (workaround for older versions of ssh.com and Cisco SSH servers). |
PreferInteractiveAuthentication | When authenticating, prefer 'keyboard-interactive' authentication to 'password' authentication. |
PreferredChecksumAlgorithm | Gets or sets the preferred checksum algorithm. Default is SHA1. Applies to multi-file transfers (with OverwriteDifferentChecksum). and single-file transfers (when EnableChecksumVerification has been enabled). |
RaiseEventsFromCurrentThread | Specifies whether to raise asynchronous events from the current working thread or whether to raise them using a SynchronizationContext available when an asynchronous operation was started. |
RecheckItemExistence | In multi-file operations it forces checking, whether currently processing item still exists. |
RestoreDateTime | Gets or sets a value that indicates which date/time is restored after successful transfer if possible. |
RevertSymlinkArguments | Gets or sets a value that indicates whether to force the reversal of SSH_FXP_SYMLINK arguments. |
SkipDuplicateItems | Gets or sets a value that indicates whether to skip duplicate items in directory listings or whether to fail. |
SshParameters | Gets or sets SSH session parameters. |
TimeComparisonGranularity | Gets or sets a value which specifies granularity for time comparisons. |
TreatUnknownItemsAsFiles | Gets or sets a value specifying that filesystem items with unknown type (not file nor directory nor symlink) will be processed as files. |
TryPasswordFirst | When authenticating using both password and private key, try authenticating using a password first (default is to try the private key first). |
UploadBufferSize | Sets the size of data packets used during upload. Supported sizes are 4 KB to 48 KB. |
UploadQueueLength | Sets the length of packed queue for uploads. |
UseLargeBuffers | Use larger receive buffer for incoming and outgoing data. |
UsePosixRename | Gets or sets a value that indicates whether to use POSIX rename instead of standard SFTP rename. Only works when 'posix-rename@openssh.com' extension is available. |
UseReadWriteModeForDownloads | Opens file for downloading (in GetFile(String, String)/Download(String, String, TraversalMode) methods) in read-write mode instead of read-only mode. |
UseSmallPackets | Use small data packets (4KB each) during upload and never split them. |
WaitForServerWelcomeMessage | Wait for server SSH protocol welcome message before sending the client one. |
Methods
Name | Description |
---|---|
Clone() | Creates a new object that is a shallow copy of the current instance. |
Explicit Interface Implementations
Name | Description |
---|---|
ICloneable.Clone() | Creates a new object that is a shallow copy of the current instance. |