En Sun, 12 Apr 2009 19:28:43 -0300, <//phr...@nospam.invalid>> escribió:
Ryniek90 <rynie...@gmail.com> writes:

When i wanted to send an .iso file of 4GB length, i had traceback:
"OverflowError: requested number of bytes is more than a Python string
can hold"

You're not supposed to put the 4GB all in one string.  Open the
socket and send smaller packets through it.

And instead of reinventing the wheel again, use the shutil module to do exactly that.

--
Gabriel Genellina

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to