PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ftp_put> <ftp_nlist
Last updated: Fri, 22 Aug 2008

view this page in

ftp_pasv

(PHP 4, PHP 5)

ftp_pasvSchaltet den passiven Modus ein oder aus

Beschreibung

int ftp_pasv ( int $ftp_stream , int $pasv )

Gibt bei Erfolg TRUE zurück, im Fehlerfall FALSE.

ftp_pasv() schaltet in den passiven Modus, wenn der pasv -Parameter TRUE ist (ausschalten per pasv -Parameter gleich FALSE). Im passiven Modus werden Datenverbindungen durch den Client statt durch den Server initiiert.



add a note add a note User Contributed Notes
ftp_pasv
ybourbeau at edison dot ca
08-Apr-2002 03:28
Directly from bsd FTP manual pages:

The PASV command requests that the remote server open a port for the data connection and return the address of that port.  The remote server listens on that port and the client connects to it.

                 When using the more traditional PORT command, the client listens on a port and sends that address to the remote server, who connects back to it.  Passive mode is useful when using ftp through a gateway router or host that controls the directionality of traffic.  (Note that though ftp servers are required to support the PASV command by RFC 1123, some do not.)
03-Apr-2002 04:19
PASV: For ftp users behind firewall, the server LISTEN for a connection.

Non-PASV: The client LISTEN for a connection from server.

ftp_put> <ftp_nlist
Last updated: Fri, 22 Aug 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites