file upload using msvcrt

TeaAndBikkie teaandbikkie at
Wed Sep 11 21:01:59 EDT 2002

>data = )
>if not data: break

I just thought of another possible problem here, read() is supposed to read in
the entire file, and maybe 8k is all data can take :)

So you could change it to read(1024) for 1k chunks.

Also, maybe read() recognises an EOF character in the word doc? Hopefully being
binary read this should not happen...

Kind regards,

More information about the Python-list mailing list