SftpSettings Class
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9147)
Specifies various SFTP settings.
Syntax
public class SftpSettings : IFtpSettings, ICloneable
Inherited Members
Constructors
Name | Description |
---|---|
Sftp |
Creates a new instance of Sftp |
Properties
Name | Description |
---|---|
Custom |
Gets or sets a custom command to start SFTP subsystem. |
Disable |
Gets or sets a value that disables workaround for a SSH_FXP_STAT command, which is known not to work correctly on some servers. |
Disable |
Gets or sets a value that disables normalization of paths passed to all commands (paths are used unchanged). |
Disable |
Disables progress percentage reporting through Transfer |
Disable |
Gets or sets a value that specifies whether Sftp.PutFile method truncates files when a zero remote offset is specified. |
Disable |
Gets or sets a value that disables WS FTP server workaround when opening remote directory. |
Disable |
Disable SFTP v4 and only use v3. |
Disable |
Disable queuing of read and write requests. |
Download |
Sets the size of data packets used during download. Supported sizes are 4 KB to 48 KB. |
Download |
Sets the length of packed queue for downloads. |
Enable |
Gets or sets a value that enables workaround for broken SSH_FXP_STAT request (fails on directories on 'DataPowerSSH' servers). |
Enable |
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. |
Enable |
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 Preferred |
Enable |
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. |
Enable |
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. |
Enable |
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). |
Enable |
Enable padding of RSA private key signatures (workaround for SSH servers that got the padding wrong). |
Ensure |
Announce public key to the server before performing key authentication. |
Get |
Gets or sets a value that specifies whether to open the remote file first while downloading (before opening the local file). |
Ignore |
Gets or sets a value that specifies whether to ignore failed SSH_FXP_CLOSE requests. |
Log |
Gets or sets a value that makes the client calculate checksums of files being uploaded and logs them into the log. |
Multi |
Gets or sets the default processing mode of detected links in multi-file operations. |
Multi |
Gets or sets the default move behavior in multi-file transfers. |
Postpone |
Postpone channel close requests (workaround for older versions of ssh.com and Cisco SSH servers). |
Prefer |
When authenticating, prefer 'keyboard-interactive' authentication to 'password' authentication. |
Preferred |
Gets or sets the preferred checksum algorithm. Default is SHA1.
Applies to multi-file transfers (with Overwrite |
Raise |
Specifies whether to raise asynchronous events from the current working thread or
whether to raise them using a Synchronization |
Recheck |
In multi-file operations it forces checking, whether currently processing item still exists. |
Restore |
Gets or sets a value that indicates which date/time is restored after successful transfer if possible. |
Revert |
Gets or sets a value that indicates whether to force the reversal of SSH_FXP_SYMLINK arguments. |
Skip |
Gets or sets a value that indicates whether to skip duplicate items in directory listings or whether to fail. |
Ssh |
Gets or sets SSH session parameters. |
Time |
Gets or sets a value which specifies granularity for time comparisons. |
Treat |
Gets or sets a value specifying that filesystem items with unknown type (not file nor directory nor symlink) will be processed as files. |
Try |
When authenticating using both password and private key, try authenticating using a password first (default is to try the private key first). |
Upload |
Sets the size of data packets used during upload. Supported sizes are 4 KB to 48 KB. |
Upload |
Sets the length of packed queue for uploads. |
Use |
Use larger receive buffer for incoming and outgoing data. |
Use |
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. |
Use |
Opens file for downloading (in Get |
Use |
Use small data packets (4KB each) during upload and never split them. |
Wait |
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. |
Creates a new object that is a shallow copy of the current instance. |