I GOT IT!
After the file transfers if I click on it on the server side a window opens and asks if I want to overwrite it. It shows the original file with the .cgi icon and the overwrite file with the .txt icon. I chose overwrite. Now it works.
I don't know why this makes it work as again...
The host is Godaddy, Linux. I'm using a trial of EnginSite Perl Editor, but also did that open/save on that 4 line script I mentioned with notepad. I did notice the extra CR at the end and took it out. Reopened, CR gone. Uploaded (SmartFTP), no go.
What really throws me here is an unopened...
I can download a script off the web, ftp it to the host, and it runs fine. If I open the script on the PC (using either notepad, wordpad, or even a perl editor), do nothing to it, save it, and then ftp again, it will not run. The host supplied a simple script which ran fine. I did the same...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.