API docs     >     Files     >     File

File->setFilesize

Description

setFilesize ( $filesize )
Sets filesize of this File

Parameters

$filesize
int
Filesize

Returns

bool
TRUE on success or FALSE in case of an error