Table of Contents

Class SshScpOptions

Namespace
SshSharp.Scp
Assembly
SshSharp.dll

Options for the SCP transfers in SshScpExtensions.

public sealed class SshScpOptions
Inheritance
SshScpOptions
Inherited Members

Properties

DirectoryMode

The permission bits for directories created by recursive uploads. Default 0755.

FileMode

The permission bits for uploaded files when they are not preserved from the source. Default 0644.

Preserve

Keep the source's modification and access times and its permission bits, as scp -p does: on uploads the server gets them, and on downloads the local file gets them (the permission bits on Unix only). Default false.

Progress

Receives progress per file: its path, the bytes done so far, and its size.

ScpCommand

The server's scp program. Default scp.