PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<ftp_nlistftp_put>
Last updated: Mon, 16 Jul 2012

ftp_pasv

(PHP 3 >= 3.0.13, PHP 4, PHP 5)

ftp_pasv -- 返回当前 FTP 被动模式是否打开

描述

bool ftp_pasv ( resource ftp_stream, bool pasv )

如果参数 pasv 为真,打开被动模式传输 (PASV MODE) ,否则,如果参数 pasv 为假则关闭被动传输模式。在被动模式打开的情况下,数据的传送由客户机启动,而不是由服务器开始。

如果成功则返回 TRUE,失败则返回 FALSE




<ftp_nlistftp_put>
 Last updated: Mon, 16 Jul 2012
 
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://manual.phpv.net/
Last updated: Thu Jul 7 19:13:47 2005 CST