If it is actually the CRLF problem (if you open the program file from the UNIX commandline with vi, you see ^M at the end of each line), then I recommend to save the program to the UNIX server through the Files tree in the Enterprise Guide server list, as the conversion is done automatically.
Otherwise, when copying the file via FTP, make sure that the transfer mode is set to "text".
... View more