Q3: How do I upload scripts to my server?

Answer

Follow these steps to upload CGI scripts:

  1. Connect via FTP using a client like FileZilla
  2. Set transfer mode to ASCII (not binary) for .pl files
  3. Navigate to your cgi-bin directory
  4. Upload the script file
  5. Set permissions to 755:
    • In your FTP client: Right-click > Permissions
    • Or via SSH: chmod 755 script.pl
Important: Always upload Perl scripts in ASCII mode to prevent line ending issues between Windows and Unix systems.
Previous General FAQ Next