in reply to Get Error in Upload file on server

Consider checking that you're actually able to open the filehandle properly (see open). Failing that consider posting some actual Perl code which generates this error.