http://www.perlmonks.org?node_id=20120

Q&A > CGI programming > I need a script for web file uploading.

You can find some good scripts for this (most of which are free) at http://cgi.resourceindex.com/Programs_and_Scripts/Perl/File_Management/File_Uploading/.