in reply to CGI: Uploaded binary file is corrupted

Try this instead of the line by line while loop when you are reading binary data:

while (my $bytes = read($resumefilename, my $buffer, 1024)) { $resumefile .= $buffer; }

Replies are listed 'Best First'.
Re: Re: CGI: Uploaded binary file is corrupted
by neilwatson (Priest) on Oct 30, 2002 at 17:39 UTC