As a followup to my own post, I tried the test code in Internet Explorer (I was using 
Navigator before), and got slightly more consistent results. The file sizes flipped 
back and forth by 3 bytes. When I saved each version, one was three bytes larger than 
the other (but both were 26 bytes larger than the content-length given). 

Also, the beginning of the file is consistently repeated at the end of the block, as 
if the series wrapped over form the tail to the head to fulfill the write request. 
This happens even when I try to count the bytes and only write the exact 
content-length as given by system/options/CGI. Could the content-length be off?

*********** REPLY SEPARATOR  ***********

On 12/6/1999 at 6:43 PM [EMAIL PROTECTED] wrote:

I'm working on a script to upload a file using the "file" type in late model browsers. 
I started with the general example in the How-To Guide ("CGI Post Method") but found 
that the content-length seems to vary between calls. First it tells me the content is 
6229 bytes long, then I repeat the same call and the content is 6291 bytes, then 6299, 
6303, et al. 

<snip>





Reply via email to