Making your CGI script executable

Some scripts require that the files are set to executable (chmod 755) and this guide will help you.


  1. Connect to your web server with your SSH software such as Putty
  2. Change directory with cd directory
  3. Type chmod 755 * to change mode for all files in that directory. If you only want to change mode for a special type of file your can use chmod 755 *.txt *.dat or chmod 755 filename.ext.

In this example we're going to use WS FTP, but you can use any other FTP software that support chmod UNIX.

  1. Connect to your server and upload the file in ASCII mode
  2. Select the file and right click on it
  3. Select Chmod UNIX in the menu
  4. Check the checkboxes as described on the picture below

Remote file permissions

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles


All our hosting packages iclude a /cgi-bin/ folder where your can upload and configure Perl...

Why do I get "EPDQ interface has been unable to reach the return url callback"?

If you get an error stating "EPDQ interface has been unable to reach the return url callback"...

Why do I get a security warning when my site redirects me to the ePDQ pages?

This is normally due to the fact that you have passed the URL for you company logo to ePDQ, via...

Why don't I get a thank you page after successful payment?

It is important that the return URL for ePDQ is set to...