Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Getting a filehandle for uploaded file

by scorpio17 (Canon)
on Oct 20, 2009 at 16:26 UTC ( [id://802263]=note: print w/replies, xml ) Need Help??


in reply to Getting a filehandle for uploaded file

If I understand correctly, you're switching to a new box/OS. This means you may need to check your web server settings, the permission settings of the directory you're trying to upload to, the user id that the script is running as, etc. There are many things that could cause problems - none of which have anything to do with the perl code used in the upload script!
  • Comment on Re: Getting a filehandle for uploaded file

Replies are listed 'Best First'.
Re^2: Getting a filehandle for uploaded file
by luker (Initiate) on Oct 20, 2009 at 22:01 UTC

    Thanks to everybody here. Steve's comment made me go and check the form tag, which had method="action".

    I had achieved that by passing CGI::start_multipart_form some wrong parameters. I was passing a hash (method => 'POST', action => 'action.pl'). It actually takes a list ('POST', 'action.pl').

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://802263]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2024-04-19 10:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found