PHP ftp_rmdir() 函数
PHP 教程
· 2019-01-26 12:59:01
定义和用法
The ftp_rmdir() 函数删除 FTP 服务器上的一个目录。
如果成功,该函数返回 TRUE。如果失败,则返回 FALSE。
语法
ftp_rmdir(ftp_connection,dir)
| 参数 | 描述 |
|---|---|
| ftp_connection | 必需。规定要使用的 FTP 连接。 |
| dir | 必需。规定要删除的目录。 |
实例
<?php
$conn = ftp_connect("ftp.testftp.com") or die("Could not connect");
ftp_login($conn,"admin","ert456");
ftp_rmdir($conn,"testdir");
ftp_close($conn);
?>
点击查看所有 PHP 教程 文章: https://www.codercto.com/courses/l/5.html
Release It!
Michael T. Nygard / Pragmatic Bookshelf / 2007-03-30 / USD 34.95
“Feature complete” is not the same as “production ready.” Whether it’s in Java, .NET, or Ruby on Rails, getting your application ready to ship is only half the battle. Did you design your system to......一起来看看 《Release It!》 这本书的介绍吧!