Cmdlets for SFTP

Build 25.0.9434

RemotePath Parameter (Connect-SFTP Cmdlet)

Specifies the working directory on the SFTP server that the provider uses for file operations.

Syntax

Connect-SFTP -RemotePath string

Data Type

cstr

Default Value

""

Remarks

This property sets the initial working directory on the SFTP server.

You can provide either an absolute path or a path relative to the server’s default login directory.

The 本製品 uses this path as the root for listing and accessing files. Setting this property allows you to target a specific folder instead of starting at the server's default root.

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