Table of Contents

Class UploadEntriesOptions

Namespace
Tmds.Ssh
Assembly
Tmds.Ssh.dll

Options for uploading directory entries.

public sealed class UploadEntriesOptions
Inheritance
UploadEntriesOptions
Inherited Members

Properties

Gets or sets whether to follow directory symbolic links.

public bool FollowDirectoryLinks { get; set; }

Property Value

bool

Gets or sets whether to follow file symbolic links.

public bool FollowFileLinks { get; set; }

Property Value

bool

IncludeSubdirectories

Gets or sets whether to include subdirectories.

public bool IncludeSubdirectories { get; set; }

Property Value

bool

MaxConcurrentEntries

Gets or sets the maximum number of concurrent entries. Defaults to 1. Must be between 1 and 64.

public int MaxConcurrentEntries { get; set; }

Property Value

int

Remarks

Increasing this value enables having more files in flight when transferring a lot of small files over high latency connections.

Overwrite

Gets or sets whether to overwrite existing files.

public bool Overwrite { get; set; }

Property Value

bool

ShouldInclude

Gets or sets LocalFileEntryPredicate to determine if an entry should be included.

public LocalFileEntryPredicate? ShouldInclude { get; set; }

Property Value

LocalFileEntryPredicate

Remarks

Parent directories will be created for included entries when they don't exist yet with DefaultCreateDirectoryPermissions.

ShouldRecurse

Gets or sets LocalFileEntryPredicate to determine if a directory should be recursed.

public LocalFileEntryPredicate? ShouldRecurse { get; set; }

Property Value

LocalFileEntryPredicate

TargetDirectoryCreation

Gets or sets how to handle target directory creation.

public TargetDirectoryCreation TargetDirectoryCreation { get; set; }

Property Value

TargetDirectoryCreation