[Pharo-dev] Downloading file with Zinc
Sven Van Caekenberghe
sven at stfx.eu
Fri Dec 21 03:55:04 EST 2018
> On 21 Dec 2018, at 05:25, Jimmie Houchin <jlhouchin at gmail.com> wrote:
> On 12/20/18 1:59 PM, Stephane Ducasse wrote:
>> Hi Sven
>> I would like download files (pdf) with Zinc (not opening them in Pharo).
>> I wonder how I can do it with zinc.
> 'http://files.pharo.org/books-pdfs/learning-oop/2018-04-01-LearningOOP.pdf' asZnUrl saveContentsToFile: '/mypath/mydir/learning-oop.pdf'
> Should get you going.
There is also ZnClient>>#downloadTo:
ZnClient new url: ''; downloadTo: ''.
Read the comment
More information about the Pharo-dev