|
PHP5中文手册
ftp_exec(PHP 4 >= 4.0.3, PHP 5) ftp_exec — 请求运行一条 FTP 命令 说明
bool ftp_exec
( resource $ftp_stream
, string $command
)
发送一个 SITE EXEC command 请求到 FTP 服务器。如果成功(服务器发送响应代码 200)则返回 TRUE,否则返回 FALSE。
Example#1 ftp_exec() 例子
<?php 参见 ftp_raw()。 |