ftp_exec

(PHP 4 >= 4.0.3)

ftp_exec -- 请求运行一条 FTP 命令

说明述

bool ftp_exec ( resource ftp_stream, string command)

发送一个 SITE EXEC command 请求到 FTP 服务器。如果成功(服务器发送响应代码 200)则返回 TRUE,否则返回 FALSE

参见 ftp_raw()