Incorrect File Size 2GB
Brought to you by:
hamoodyjamal
I'm using this software for ISO images. Some of the images are about 4GB in size. CentOS is able to display the size correctly within the OS but not through dirLIST:
CentOS-4.4-i386-bin-DVD.iso 0.0 KB 31 December 1969
Its only affecting files larger then 2GB. I'm able to download the ISO's without an issue.
I tried this solution but it didn't have an effect.
https://sourceforge.net/p/dir-list/bugs/4/#e747
$file_size = filesize($item_path);
if ( $file_size < 0) $file_size = $file_size - $file_size - $file_size;
Thank you for your help.