Sorry for all this emails, but my system depends 100% on mod_python specially file uploading. :)

On Nov 7, 2005, at 2:04 PM, Jim Gallacher wrote:

Alexis Marrero wrote:

Jim,
Nicolas,
Thanks for sending the function that creates the test file. However I ran it to create the test file, and after uploading the file the MD5 still the same.


Did you call it with the same block size as you are using in your code? The '\r' character must appear in the file right at the readBlockSize boundary.
YES I ran it with generate_file(offset=-1, readBlockSize=1<<16, fname='testfile')
and the MD5 of the input and output files match.


ie.

generate_file(offset=-1, readBlockSize=1<<16, fname='testfile')

Jim

PS. Please make sure you cc. python-dev when replying. It's best to keep discussion on the list.




Reply via email to