GC_Filesystem_SSH2::size()

最后更新于:2021-11-27 20:55:30

GC_Filesystem_SSH2::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-ssh2.php

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