The SftpSettings type exposes the following members.

Properties

  NameDescription
Public propertyCustomCommand
Gets or sets a custom command to start SFTP subsystem.
Public propertyDisableFxpStatWorkaround
Gets or sets a value that disables workaround for a SSH_FXP_STAT command, which is known not to work correctly on some servers.
Public propertyDisablePathNormalization
Gets or sets a value that disables normalization of paths passed to all commands (paths are used unchanged).
Public propertyDisableProgressPercentage
Disables progress percentage reporting through TransferProgressChanged event.
Public propertyDisablePutFileZeroOffsetTruncate
Gets or sets a value that specifies whether Sftp.PutFile method truncates files when a zero remote offset is specified.
Public propertyDisableRealPathWorkaround
Gets or sets a value that disables WS FTP server workaround when opening remote directory.
Public propertyDisableSftp4
Disable SFTP v4 and only use v3.
Public propertyDisableTransferQueue
Disable queuing of read and write requests.
Public propertyDownloadBufferSize
Sets the size of data packets used during download. Supported sizes are 4 KB to 48 KB.
Public propertyDownloadQueueLength
Sets the length of packed queue for downloads.
Public propertyEnableBrokenDirectoryStatWorkaround
Gets or sets a value that enables workaround for broken SSH_FXP_STAT request (fails on directories on 'DataPowerSSH' servers).
Public propertyEnableBrokenRealPathWorkaround
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.
Public propertyEnableFileSync
Gets or sets a value indicating whether to synchronize file changes after 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.
Public propertyEnableSignaturePadding
Enable padding of RSA private key signatures (workaround for SSH servers that got the padding wrong).
Public propertyEnsureKeyAcceptable
Announce public key to the server before performing key authentication.
Public propertyLogChecksums
Gets or sets a value that makes the client calculate checksums of files being uploaded and logs them into the log.
Public propertyMultiFileLinkMode
Gets or sets the default processing mode of detected links in multi-file operations.
Public propertyMultiFileMoveMode
Gets or sets the default move behavior in multi-file transfers.
Public propertyPostponeChannelClose
Postpone channel close requests (workaround for older versions of ssh.com and Cisco SSH servers).
Public propertyPreferInteractiveAuthentication
When authenticating, prefer 'keyboard-interactive' authentication to 'password' authentication.
Public propertyPreferredChecksumAlgorithm
Gets or sets a checksum algorithms to be preferred in multi-file transfers.
Public propertyRaiseEventsFromCurrentThread
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.
Public propertyRecheckItemExistence
In multi-file operations it forces checking, whether currently processing item still exists.
Public propertyRestoreDateTime
Gets or sets a value that indicates which date/time is restored after successful transfer if possible.
Public propertyRevertSymlinkArguments
Gets or sets a value that indicates whether to force the reversal of SSH_FXP_SYMLINK arguments.
Public propertySkipDuplicateItems
Gets or sets a value that indicates whether to skip duplicate items in directory listings or whether to fail.
Public propertySshParameters
Gets or sets SSH session parameters.
Public propertyTimeComparisonGranularity
Gets or sets a value which specifies granularity for time comparisons.
Public propertyTreatUnknownItemsAsFiles
Gets or sets a value specifying that filesystem items with unknown type (not file nor directory nor symlink) will be processed as files.
Public propertyTryPasswordFirst
When authenticating using both password and private key, try authenticating using a password first (default is to try the private key first).
Public propertyUploadBufferSize
Sets the size of data packets used during upload. Supported sizes are 4 KB to 48 KB.
Public propertyUploadQueueLength
Sets the length of packed queue for uploads.
Public propertyUseLargeBuffers
Use larger receive buffer for incoming and outgoing data.
Public propertyUsePosixRename
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.
Public propertyUseReadWriteModeForDownloads
Opens file for downloading (in GetFile(String, String)/Download(String, String, TraversalMode) methods) in read-write mode instead of read-only mode.
Public propertyUseSmallPackets
Use small data packets (4KB each) during upload and never split them.
Public propertyWaitForServerWelcomeMessage
Wait for server SSH protocol welcome message before sending the client one.

See Also