voltolio
Technical User
- Feb 5, 2008
- 4
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 thing (as mentioned above) with the same script and even it did not run. Here is the script:
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Greetings user.\n";
If I 'view' the scripts (the ones that run and the ones that don't) as they exist on the host, everything is identical.
How can something so simple not run?
All settings are identical to the scripts that did run (chmod, ascii upload, etc.)
Thanks!
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Greetings user.\n";
If I 'view' the scripts (the ones that run and the ones that don't) as they exist on the host, everything is identical.
How can something so simple not run?
All settings are identical to the scripts that did run (chmod, ascii upload, etc.)
Thanks!