06-17-2011, 03:44 PM
[eluser]Larry Wakeman[/eluser]
I am trying to upload a file with multiple periods in the name, i.e. header.1.0.0.zip. When the file is uploaded, it is named header.1_.0_.0_.zip, note the extra underbars. Makes it difficult to find the file.
Is their any magic incantation I can make to make the file name not get translated?
I am trying to upload a file with multiple periods in the name, i.e. header.1.0.0.zip. When the file is uploaded, it is named header.1_.0_.0_.zip, note the extra underbars. Makes it difficult to find the file.
Code:
FILES Array
(
[userfile] => Array
(
[name] => header.1.0.0.zip
[type] => application/zip
[tmp_name] => C:\Program Files\xampp\tmp\phpA5D.tmp
[error] => 0
[size] => 341
)
)
Config Array
(
[upload_path] => C:/Users/Larry/CICmS/www/temp/2b1c90a1aa3cbe60aab4cf93b4f711de/
[allowed_types] => zip
[overwrite] => 1
[remove_spaces] => false
)
Is their any magic incantation I can make to make the file name not get translated?