pbPassiveMode - cFTPTransfer
Specifies whether to connect to the FTP server RemoteHost using passive mode
Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None
Syntax
Property Boolean pbPassiveMode
| Access Type | Syntax |
|---|---|
| Read Access: | Get pbPassiveMode to BooleanVariable |
| Write Access: | Set pbPassiveMode to BooleanVariable/Value |
Description
pbPassiveMode specifies whether to connect to the FTP server RemoteHost using passive mode.
Passive mode is usually deemed to be more secure than active mode. Passive mode allows the FTP client to establish the connection, while the FTP server remains passive. The server picks a random port to listen to for a connection from the client. It then transmits the port to the client and waits for the client to establish the connection. Passive mode is sometimes needed if you are behind a firewall.
Default is False.