Originally posted by Craig Walsh
The reason why you must use text mode is that Unix interprets the end of line character differently from DOS and Mac. When you use text mode in your FTP program, it takes care of translating the end of line characters for you. If you don't do this, your Perl script will not execute and you will get errors.
All this is handled during the ftp upload, so your Perl scripts shouldn't contain any Windows characters.
I think the best thing is to ask your host to upload a copy of a "Hello World" script themselves, via FTP (not by direct local access to disk at their end) and see if they get the same mangled upload that both Actinic on your machine and an upload by Actinic tech support (who I'm fairly confident can write, save and upload a pl script using the correct mode )
As Malcolm says, don't spend any more time at your end playing with the scripts - I don't think it's an issue at your end.
Comment