Henrik,

Good idea, added a slightly modified version (named the class to the operation) 
and added a test. In #bleedingEdge.

Thank you !

Sven

PS: I was almost forgotten that I added this ZnUrlOperation stuff, I am glad 
you found it.

===
Name: Zinc-HTTP-SvenVanCaekenberghe.403
Author: SvenVanCaekenberghe
Time: 25 June 2014, 7:26:21.541717 pm
UUID: 3032d604-6363-400b-b2ce-c9401ac7cf17
Ancestors: Zinc-HTTP-SvenVanCaekenberghe.402

Add ZnHttpSaveContentsToFile to implement ZnUrl>>saveContentsToFile: (thx 
Henrik Sperre Johansen) with a new unit test

Make sure to put the code where necessary in the proper package extensions

Fix ZnClient>>#testLogging on Pharo 2
===
Name: Zinc-Resource-Meta-Tests-SvenVanCaekenberghe.25
Author: SvenVanCaekenberghe
Time: 25 June 2014, 7:27:13.501891 pm
UUID: 867946e0-c085-4a7a-a35d-0005a99c7e44
Ancestors: Zinc-Resource-Meta-Tests-SvenVanCaekenberghe.24

Add ZnHttpSaveContentsToFile to implement ZnUrl>>saveContentsToFile: (thx 
Henrik Sperre Johansen) with a new unit test

Make sure to put the code where necessary in the proper package extensions

Fix ZnClient>>#testLogging on Pharo 2
==
Name: Zinc-Tests-SvenVanCaekenberghe.213
Author: SvenVanCaekenberghe
Time: 25 June 2014, 7:27:39.279953 pm
UUID: 1b7415a0-72b5-4b9e-93fa-53749e05b3e5
Ancestors: Zinc-Tests-SvenVanCaekenberghe.212

Add ZnHttpSaveContentsToFile to implement ZnUrl>>saveContentsToFile: (thx 
Henrik Sperre Johansen) with a new unit test

Make sure to put the code where necessary in the proper package extensions

Fix ZnClient>>#testLogging on Pharo 2
===

On 18 Jun 2014, at 15:07, Henrik Johansen <[email protected]> wrote:

> Hi!
> I’m a lazy bastard, but one which needs to download large files from time to 
> time, hence I wrote the attached shortcut-operation for ZnUrls which gives me 
> that without the extra fuss of manually creating a client etc.
> Maybe just me who didn’t spot existing functionality, or maybe it’d be a nice 
> convenience operation to have in general distribution if you feel like 
> picking better names/integrating it. 
> 
> Cheers,
> Henry
> 
> <DownloadToFile.cs>


Reply via email to