Cmdlets for FTP

Build 24.0.8963

Passive Parameter (Connect-FTP Cmdlet)

Controls whether to direct the server into passive mode. Recommended if behind a firewall.

Syntax

Connect-FTP -Passive bool

Data Type

bool

Default Value

true

Remarks

This property controls whether to direct the server into passive mode. Many firewalls will not allow the FTP server to open a connection from outside to the higher ports where the cmdlet expects them. If Passive is set to TRUE, the cmdlet will use the PASV command instead of the PORT command and will thus direct the server into passive mode: connections are initiated only by the client.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.8963