On Mac OS X you want to use Unix line endings and transfer using binary. The superb SubEthaEdit has options to change and convert line endings. I had to do this with a couple of the scripts.
I double checked using 0xED, a nice lightweight hex editor.
Also, check the permissions once you’ve uploaded it. Should be 755.
Finally, you may have issues when transferring using SFTP; this response from 34SP sheds some light: ”If you use scp the files are owned by the group psaserv, to run they need to be owned by the group psacln, this alteration is done automatically by the ftp daemon but not possible when using the sftp subsystem. Depending on your sftp client you maybe able to chown/chgrp these files (you can with winscp on windows)”. Unfortunately it looks like this isn’t possible with Transmit, so I’ve switched back to FTP.
