FileRetrievalDepth Parameter (Connect-SFTP Cmdlet)
Specify 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 allows recursive retrieval of files from the Root table only. It can be useful for listing all files in the FTP server at once. This property must be set in the connection string or the 本製品 will use a default depth of 5.