PHP ftp_pasv() Function
Complete PHP FTP Reference Manual
Definition and Usage
The ftp_pasv() function turns passive mode on or off.
In passive mode, the data connection is initiated by the client rather than the server. This is useful when the client is behind a firewall.
Syntax
ftp_pasv(ftp_connection,mode)
| Parameters | Description |
|---|---|
| ftp_connection | Required. Specifies the FTP connection to use. |
| mode | Required. Specifies the mode.
|
Example
Complete PHP FTP Reference Manual