GC_Filesystem_FTPext::size()
最后更新于:2021-11-27 18:48:54
GC_Filesystem_FTPext::size( string$file)Gets the file size (in bytes).
参数
- $file
-
(string) (Required) Path to file.
响应
(int|false) Size of the file in bytes on success, false on failure.
源文件
文件: gc-admin/includes/class-gc-filesystem-ftpext.php
public function size( $file ) {
return ftp_size( $this->link, $file );
}