[squeak-dev] Re: Fetch zip file from web, unzip, save constituent parts?

Tobias Pape Das.Linux at gmx.de
Fri Jun 17 07:11:27 UTC 2016


On 17.06.2016, at 03:03, tim Rowledge <tim at rowledge.org> wrote:

>> On 16-06-2016, at 5:41 PM, tim Rowledge <tim at rowledge.org> wrote:
>> 
>> 
>>> On 16-06-2016, at 5:22 PM, tim Rowledge <tim at rowledge.org> wrote:
>>> 
>>> What I need to do is access a zip file on a server, download it 
>> 
>> OK, that bit I can now do with “http://foo.com/thingy.zip' asUrl retrieveContents, which even makes sense.
> 
> Except that any attempt to get a zip file from github, for example, fails because of some problem with unknown protocol. THat’s even after discovering that github wants 'https://github.com/foo/bar/master/thing.zip?raw=true' in order to actually see the data and not the damn page.
> 

Or even:

https://raw.githubusercontent.com/foo/bar/master/thing.zip

Best
	-Tobias


> tim





More information about the Squeak-dev mailing list