Re: Create TarFile using string buffers

2007-03-20 Thread Gabriel Genellina
En Mon, 19 Mar 2007 21:55:30 -0300, [EMAIL PROTECTED] <[EMAIL PROTECTED]> escribió: > Thanks. It almost works. The problem is I don't know the size of the > file until it has finished streaming. It looks like the tar file > format need the file size written at the beginning :( Yes, maybe becaus

Re: Create TarFile using string buffers

2007-03-19 Thread [EMAIL PROTECTED]
Thanks. It almost works. The problem is I don't know the size of the file until it has finished streaming. It looks like the tar file format need the file size written at the beginning :( -- http://mail.python.org/mailman/listinfo/python-list

Re: Create TarFile using string buffers

2007-03-19 Thread Gabriel Genellina
En Mon, 19 Mar 2007 16:06:39 -0300, [EMAIL PROTECTED] <[EMAIL PROTECTED]> escribió: > I have a program that generates a number of files that will be > packaged into a tarball. Can I stream the content into TarFile without > first writing them out to the file system? All add(), addfile() and > ge

Re: Create TarFile using string buffers

2007-03-19 Thread Lars Gustäbel
On Mon, Mar 19, 2007 at 12:06:39PM -0700, [EMAIL PROTECTED] wrote: > I have a program that generates a number of files that will be > packaged into a tarball. Can I stream the content into TarFile without > first writing them out to the file system? All add(), addfile() and > gettarinfo() seems to