Re: How can you make an async http request to download a file in chunks?



I have one more related question, if you don't mind helping. I'm
successfully able to download the file in chunks and update the progress
bar, but I'm running into trouble trying to save the chunks to a file as
I get them.

The Soup.Buffer object confuses me, and I can't get the
Gio.FileOutputStream.write() method to write any data.

I posted another stackoverflow question with details:

http://stackoverflow.com/questions/14861056/with-gjs-how-can-i-write-soup-buffer-chunks-of-data-to-a-file

Thanks!

-- 
Micah Lee
https://twitter.com/micahflee

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]