in reply to Re: Re: Re: Yet another CGI Upload problem - not like the others!
in thread Yet another CGI Upload problem - not like the others!
And:'.tmpfiles' => { '3' => { 'info' => { 'Content-Disposition' => 'form-data; name="file +"; filename="C:\\stu\\putty\\stu.txt"', 'Content-Type' => 'text/plain' }, 'name' => bless( do{\(my $o = '/usr/tmp/CGItemp10026') +}, 'TempFile' ) } },
The error log now records the reason for death as:'file' => [ bless( \*{'Fh::fh00001C%3A\\stu\\putty\\s +tu.txt'}, 'Fh' ) ],
and line 70 is:[Wed Dec 11 15:54:14 2002] new_upload.cgi: Use of uninitialized value +in die at <<path to script>>/new_upload.cgi line 70. [Wed Dec 11 15:54:14 2002] new_upload.cgi: Died at <<path to script>>/ +new_upload.cgi line 70. :$
I'm stumped. Does this make the reason for the failure clearer to you? Thanks again for your help.while($bytes=(read($fh, $buffer, 1024)or die $q->cgi_error())) { $bytes_read += $bytes; print OUTFILE $buffer; }
|
|---|