Gets the file size (in bytes).
Parameters
$file
stringrequired- Path to file.
Source
public function size( $file ) {
return filesize( $this->sftp_path( $file ) );
}
Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |
Gets the file size (in bytes).
$file
stringrequiredpublic function size( $file ) {
return filesize( $this->sftp_path( $file ) );
}
Version | Description |
---|---|
2.7.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.