FtpClient\FtpClient::dirSize
Returns the total size of the given directory in bytes.
Signature
public function dirSize([string
$directory = '.',
[boolean
$recursive = true]] )
Parameters
$directory
— string- The directory, by default is the current directory.
$recursive
— boolean- true by default
Returns
- int
- The size in bytes.