rackspace/php-cloudfiles — pull request #83 by hgfeaon (2012-10-23 06:10:30+00:00)
Title: fix the filesize bug in load_from_filename()

```php
sprintf("%u", filesize($filename)) // is this a bug ?
```
If we get the size >= 4GB from the filesize() but print in format of "%u", the output will be zero.
I have tried below code to verify my suggestion
```php
$filesize = 1024 * 1024 * 1024 * 4; // 4G
$size_from_float = (float)sprintf("%f", $filesize);
$size_from_int = (float)sprintf("%u", $filesize);
echo "size_from_float = $size_from_float \n";
echo "size_from_int = $size_from_int \n"
```
Here is the output
>size_from_float = 4294967296
>size_from_int = 0

So we should use the format of "%f" to get the suitable output of a number >= 4G in the sprintf function.