I don't think you need to do this:
my $filename = $request->param('file'); my $filehandle = $request->upload( $filename );
According to the docs for CGI, 'the filename returned is also a filehandle', which sounds like serious voodoo to me. I can't test it on IIS here, but this normally works:
my $filename = $request->param('file'); binmode ($filename); # etc
Hope this helps.
In reply to Re: CGI upload and IIS 5
by thpfft
in thread CGI upload and IIS 5
by RatArsed
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |