| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-python mailing list Archives
compressing FTP data through a callback
From: jd list <jdlists_at_gmail.com>
Date: Mon, 27 Mar 2006 13:57:38 +0100
I was trying to compress the data sent with pycurl, using FTP via a
class FileReader:
def read_callback(self, size):
which was called by (another object)
self.c.setopt(self.c.READFUNCTION, FileReader(open(flNm, 'rb')).read_callback)
When i set compress to True, the file gets stuck in a some sort of
I'm sure i'm missing something simple here, and was hoping someone
Thanks
_______________________________________________
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info