Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a small set of files and folders in a directory on my computer that are causing issue. When I upload them to my web host (Dreamhost) via SFTP (using Transmit on OSX, a GUI), most files and folders transfer as expected. But a couple of them convert to uppercase on the web host. Example: slider.js becomes SLIDER.JS

644 slider.js on my local machine
644 SLIDER.JS on web host

I'm not sure where to start in debugging this issue so if any more information is needed, please ask.

Update 11/30/11 5pm EST
- I was able to solve the issue by simply renaming the file slider.js to slider2.js and then back to slider.js. I am still interested to figure out what was causing this issue.
- Using sftp on the commandline transferred the problem files without uppercasing.
- I have a MAC running OSX 10.7.2. Don't know too many details about the filesystem but information is available on the [Ars Technica review of OSX 10.7][1].

In my further investigation I found that ftp recognizes a case command. Details follow:

Toggle remote computer file name case mapping during mget commands. When case is on (default is off), remote computer file names with all letters in upper case are written in the local directory with the letters mapped to lower case.

Could it be that the [Transmit ftp app][1] is incorrectly utilizing this command? This is speculation.

share|improve this question
Is there a pattern? –  soandos Nov 30 '11 at 19:11
What file system are you using locally to store these files? –  Daniel Beck Nov 30 '11 at 19:14
Does the same thing happen when you use the command line sftp program? sftp user@host, then put /path/to/local/slider.js /remote/path/for/uploaded/slider.js, then quit. –  Daniel Beck Nov 30 '11 at 19:16
If you enable SSH (Remote Login) in Sharing preference pane in System Preferences and connect to localhost using your account name and password, and upload from your local system to your local system, does the same thing happen? –  Daniel Beck Nov 30 '11 at 19:17
Thanks for the comments so far. I've added some info to the original question. –  Lokesh Dhakar Nov 30 '11 at 22:17
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.