PHP ftp_pasv() 函数
PHP 教程
· 2019-01-26 11:13:26
定义和用法
ftp_pasv() 函数把被动模式设置为打开或关闭。
在被动模式中,数据连接是由客户机来初始化的,而不是服务器。这在客户机位于防火墙之后时比较有用。
语法
ftp_pasv(ftp_connection,mode)
| 参数 | 描述 |
|---|---|
| ftp_connection | 必需。规定要使用的 FTP 连接。 |
| mode | 必需。规定模式。
|
实例
<?php
$conn = ftp_connect("ftp.testftp.com") or die("Could not connect");
ftp_login($conn,"admin","ert456");
ftp_pasv($conn,TRUE);
ftp_close($conn);
?>
点击查看所有 PHP 教程 文章: https://codercto.com/courses/l/5.html
The Intersectional Internet
Safiya Umoja Noble、Brendesha M. Tynes / Peter Lang Publishing / 2016
From race, sex, class, and culture, the multidisciplinary field of Internet studies needs theoretical and methodological approaches that allow us to question the organization of social relations that ......一起来看看 《The Intersectional Internet》 这本书的介绍吧!