Hi Uwe,
s/use CGI/use CGI::Simple/g;
But seriously if you have a moment to download it could you see if this happens with my CGI.pm substitute CGI::Simple as well? I would be most interested to know. Note you can only substitute CGI::Simple for CGI.pm if you are not using the CGI.pm HTML generating methods. The problem (as previously noted) will probably be related to not applying binmode to STDIN as well as your FH. Perl makes an automagical translation from \n internally to \r\n externally on Win32. This is fine for textfiles but stuffs up binaries (reading and writing) where 00001101 00001010 means just that (ie not \r\n) and should not be converted to 00001010.
CGI::Simple vs CGI.pm - is twice as fast good enough?
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In reply to Re: truncated file upload under Windows 2000
by tachyon
in thread truncated file upload under Windows 2000
by uwevoelker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |