Cmdlets for SFTP

Build 25.0.9434

FileRetrievalDepth Parameter (Connect-SFTP Cmdlet)

Specifies the depth level of folders you want to query from the Root table.

Syntax

Connect-SFTP -FileRetrievalDepth string

Data Type

cstr

Default Value

"5"

Remarks

This property controls how many levels of subfolders the 本製品 traverses when listing files from the Root table.

If this property is set to 1, only files and folders in the root directory are listed. Higher values increase the depth of recursive scanning into subfolders.

If this property is left unset, the 本製品 uses the default value: 5.

Use this setting when you need to retrieve files from multiple nested folders in a single query. Note that large depth values may increase query time and memory usage.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434