|
ftp_pasvTurns passive mode on or off Description
bool ftp_pasv
( resource
$ftp_stream
, bool $pasv
)ftp_pasv turns on or off passive mode. In passive mode, data connections are initiated by the client, rather than by the server. It may be needed if the client is behind firewall. Please note that ftp_pasv can only be called after a successful login or otherwise it will fail. Parameters
Return Values
Returns Examples
Example #1 ftp_pasv example
<?php |