Gets the file size (in bytes).
Parameters
$filestringrequired- Path to file.
Source
public function size( $file ) {
$size = ftp_size( $this->link, $file );
return ( $size > -1 ) ? $size : false;
}
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
Gets the file size (in bytes).
$filestringrequiredpublic function size( $file ) {
$size = ftp_size( $this->link, $file );
return ( $size > -1 ) ? $size : false;
}
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.