I haven't had time to thoroughly investigate this (and it's almost midnight my time, so fatigue is working against me here)...BUT, it does appear that the uploads.php code assumes file extensions will always be lowercase, which is bogus.
See if these changes help:
Around line 229 of uploads.php, find a line like this:
Code:
$file_extension = strtolower( substr( strrchr( $fileName, '.' ), 1) );
and change it to be like this:
Code:
$file_extension = strtolower( $fext = substr( strrchr( $fileName, '.' ), 1) );
and then around line 249 find:
Code:
$fs_path = DIR_FS_UPLOADS . $index . '.' . $file_extension;
and change it to:
Code:
$fs_path = DIR_FS_UPLOADS . $index . '.' . $fext;
and then (optionally, only if you want to preserve the case of the extension when you download the file) around 256 find:
Code:
$nfile = 'zc_order' . $oid . '_' . $index . '.' . $file_extension;
and change it to:
Code:
$nfile = 'zc_order' . $oid . '_' . $index . '.' . $fext;
I have NOT tested these mods, but try them and post results here (being on opposite sides of the world is a challenge, time-wise).
Bookmarks