GetSimple Support Forum
File Renames to Lowercase on Upload - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: File Renames to Lowercase on Upload (/showthread.php?tid=3591)



File Renames to Lowercase on Upload - benrusso - 2012-09-24

I'm testing out the upload/files part of GetSimple, and have run into a small problem: my files are automatically renamed to lowercase!

Before I dig deep into the code, I'm wondering if someone has background information on why this happens and how, if advisable, to correct it to case-sensitive filenames.

Thanks.

EDIT

I did another couple of searches after posting this, and found the following:
http://get-simple.info/forum/topic/2928/preserve-case-for-uploaded-files/

Unless there's anything more to add about it, consider this solved. Thanks.


File Renames to Lowercase on Upload - shovenose - 2012-09-24

Well, I believe that is done on purpose, because it's best practice to not use any capital letters on filenames on the web.


File Renames to Lowercase on Upload - benrusso - 2012-09-24

In retrospect, I believe that's true as well. For the greater good, I guess, this lowercase alteration is probably best left alone.

However, for some specific reasons where capitals are important in file names, at least the solution is a simple one-line fix (see the post mentioned before).