I'm a newbie to Perl. I want to write a script to upload a file to server. Unfortunately my server do not allow to use the POST method.
When I try to save the file on the server, an empty file with the same file name is created. I used the code give at http://www.sitepoint.com/uploading-files-cgi-perl-2/ for the script (Just used GET method instead of POST)
I guess the below while loop is not working because when I tried incrementing a count variable inside that loop, it isn't getting incremented:
while ( <$upload_filehandle> )
Is using GET method the problem? Please advice