However, if you don't have one of these programs, and if you have Unix shell access to the file, you can set the file's permissions with the chmod command. Most of the latest FTP programs allow you to change file permissions. You'll need to look into the features of your specific FTP program to determine whether or not this function is available. This is not the case with Kattare. You do not need to keep your CGIs in a special directory of any kind in order for them to be recognized as CGIs, although the cgi-local directory is especially set up for this and will automatically change your file permissions as required.
Many scripts come with the file extension of .pl .
As with many CGI scripts, these are just PERL scripts. However, with the extension of .pl , the script WILL NOT RUN , but will rather just display on the screen as plain text. If your CGI does not already end in .cgi , you can rename it using your FTP program. This stands for move myscript.pl to myscript.cgi . Or you can rename it on your home machine and re-upload it.