54th98u3ca 发表于 2016-6-8 01:52:36

php ftp_mdtm函数-FTP 文件传输函数库

获得指定文件的最后修改时间。
语法: int ftp_mdtm(int ftp_stream, string remote_file);
返回值: 整数
函数种类: 网络系统

内容说明本函数用来获取 FTP 服务器上指定文件的最后修改时间。参数 ftp_stream 为 FTP 的连接代码。参数 remote_file 为欲获取修改时间的文件名。返回值为 UNIX 的时间格式 (timestamp),失败则返回 -1 值。
页: [1]
查看完整版本: php ftp_mdtm函数-FTP 文件传输函数库