Sean P. DeNigris wrote
> 
> 
> Sven Van Caekenberghe wrote
>> 
>>              entity := ZnClient new
>>                      streaming: true;
>>                      get:
>> 'https://ci.lille.inria.fr/pharo/job/Cog%20Git%20Tracker/lastSuccessfulBuild/artifact/cog.tar.gz';
>> 
> 
> The above snippets successfully downloaded the files (I think), but there
> is something wrong with them.

The snippets were fine. The problem was me ;-) Sorry to cause you extra
work... your original simpler examples (like the one above) work. I was
calling #response instead of #entity, so the saved file included the http
headers and made the files unreadable.

Thanks for the help.
Sean

--
View this message in context: 
http://forum.world.st/Downloading-a-file-tp4586900p4588483.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.

Reply via email to