Cmdlets for FTP

Build 24.0.8963

FirewallType Parameter (Connect-FTP Cmdlet)

The protocol used by a proxy-based firewall.

Syntax

Connect-FTP -FirewallType string

Possible Values

NONE, TUNNEL, SOCKS4, SOCKS5

Data Type

cstr

Default Value

"NONE"

Remarks

This property specifies the protocol that the cmdlet will use to tunnel traffic through the FirewallServer proxy.

Type Default Port Description
TUNNEL 80 When this is set, the cmdlet opens a connection to FTP and traffic flows back and forth through the proxy.
SOCKS4 1080 When this is set, the cmdlet sends data through the SOCKS 4 proxy specified by FirewallServer and FirewallPort and passes the FirewallUser value to the proxy, which determines if the connection request should be granted.
SOCKS5 1080 When this is set, the cmdlet sends data through the SOCKS 5 proxy specified by FirewallServer and FirewallPort. If your proxy requires authentication, set FirewallUser and FirewallPassword to credentials the proxy recognizes.

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