Navigation: Development > Function Reference > Module > Ftp >
Get file size in remote dir.
App::Module('Ftp')->fileSize(Path);
Parameter
Type
Description
Path
Mandatory
File path to fetch size
See bellow examples:
$size = $Ftp->fileSize("Winter.jpg");