Thanks for the advice.
I checked and $upload->link does indeed return false. I'm guessing it's because of something with TEMP_DIR you said, but my lack of knowledge is keeping me from getting this resolved. How do I determine what TEMP_DIR has been set to? I'm using Mason with ApacheHandler2 that I believe sets up the Apache::Request object but I'm still a little unclear on how everything fits together. I could definitely use another "nudge" in the right direction.


Joe Schaefer wrote:


Three things to check:

1) be sure $filename is valid (it really should be marked as tainted),
2) be sure "/path/to/local/$filename" is on the same device
(filesystem) as your temporary directory (see the docs for Apache::Request::new regarding TEMP_DIR).
3) check the return value of $upload->link, if it's false (undef) then
there was a problem- usually the trouble is caused by one of the above.




--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to