Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
call this function to inform about upload progress

passes self.file_number and arguments to self.progressCallbackFunction
upload_t - total size to be uploaded
upload_d - total size already uploaded
download_t - currently ignored - added to fit pycurl format
download_d - currently ignored - added to fit pycurl format

src/s/e/seng310-HEAD/PyShare0.6.2/plugins/Rapidshare_com.py   seng310(Download)
            sock.send(chunk)
            bufferlen += len(chunk)
            self.progress(0,0,upload_t = size, upload_d = bufferlen)
 
        sock.send(contenttail)