RemotePath Parameter (Connect-FTP Cmdlet)
Specifies the working directory path on the FTP server.
Syntax
Connect-FTP -RemotePath string
Data Type
cstr
Default Value
""
Remarks
This property sets the working directory on the FTP server. You can change the working directory by providing:
- An absolute path, which is interpreted from the server root.
- A relative path, which is interpreted with respect to the current working directory.
Use this property to control the default directory for file operations.