in reply to Problematic UploadFile() method in CGI.pm

Hello

First you'll need to get the file name to save it , *if you're planning to do so ... actually i cant see that you're saving anything in your code

# First -- Get file name from our File Box my $file = param('upload'); # Strip out file path from file name , to be able to save it out in ou +r server $file =~ s/.*[\/\\](.*)/$1/; # Next , Generate upload handle my $uph = upload("upload"); #now we save out our file using the name we already got open(OUT,">$file") or die $!; binmode(OUT); while(<$uph>){ print OUT $_; } close(OUT);

now you should see the same file in your server (uploaded)