GC_Filesystem_ftpsockets::size()

最后更新于:2021-11-27 19:41:06

GC_Filesystem_ftpsockets::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-ftpsockets.php

	public function size( $file ) {
		return $this->ftp->filesize( $file );
	}