[Pharo-users] Zinc downloadTo: help required

Chris cpmbailey at btinternet.com
Thu Jul 19 14:21:09 EDT 2012

I'm trying to do a wget style download with Zinc but running into a few 
problems when a server uses chunked transfer encoding. Eventually it 
ends up in ZnUtils streamFrom:to:size: with an empty totalSize (as 
content-length is unset) and then produces an empty file. However the 
download works fine if I simply do an upToEnd on the 
ZnChunkedReadStream. This can be seen by executing ZnClient new url: 
'http://www.google.com'; downloadTo: '/tmp/foo.txt'.


More information about the Pharo-users mailing list