Destination file size

See all posts Reply

Destination file size new!
by Chris, 14 years, 5 months ago
Hi!
I wonder, why there isn’t an option for getting the filesize of the destination file. Any hint how to integrate this in your script in a fast way?

Thankls & best regards
ChrisReply
Re: Destination file size new!
by colin, 14 years, 5 months ago
You can easily get the filesize of the destination file with:
$s = filesize($handle->file_dst_pathname);

it wouldn't be a good idea to include this in the class, as it is not strictly necessary, and requires some resources (to check the filesize on the file system).Reply
Re: Destination file size new!
by carlos, 14 years, 2 months ago
round(filesize($handle->file_dst_pathname)/256)/4

correto

round(filesize($handle->file_dst_pathname)/?)/ ?

1 mb.Reply