Table of Contents

Property MaxDepth

Namespace
SshSharp.Sftp
Assembly
SshSharp.dll

MaxDepth

How many levels a recursive listing goes down (default 64, as directory transfers): 1 lists the directory's own entries, 2 also those of its subdirectories, and so on. Directories at the last level are listed but not entered. Unlike a directory transfer, which fails on a deeper tree, a listing just stops descending.

public int MaxDepth { get; init; }

Property Value

int