Name: file_upload.cgi
Description: Perl file upload script
Version: 0.1
Size: 3.2 KB  (3248 bytes)
MD5 Sum: 5998f1bfd2411a1cef1458ab81434fb4
Developer: Jim Cameron
Developer Website: Jim Cameron
Obtained On: 2011-11-13
Obtained From:
Download URL:
Requirements: Perl
Purchase Information: Free
License: N/A
Redistributable: Yes
Comments: This Perl script was based on one provided by Matt Doyle at Uploading Files Using CGI and Perl Article on March 14, 2008. I made some minor modifications. I changed the maximum file size allowed from 5 MB to 15 MB, eliminated the code for submitting an email address, removed any reference to the code being used specifically to submit photos, since I wanted the script to be used for any type of file, and added code to display the file size after the file is uploaded. Sample HTML code that could be used for a page that would call this script is here. For Linux/Unix websites, change the permissions on the file_upload.cgi file to 755 with "chown 755 file_upload.cgi" after placing it on your website.

Valid HTML 4.01 Transitional