[Pharo-project] [ENH]: Zinc - Streaming Download Progress

Sean P. DeNigris sean at clipperadams.com
Thu Jul 12 11:58:53 EDT 2012

It would be /really/ nice if Zinc sent notifications of streaming download
progress to log listeners and HTTPProgress handlers.

The following method showed nice progress notifications via both routes
until the file started to download, which is the bulk of the time spent...


	| client |
	client := ZnClient new.
	client signalProgress: true.
	client log addListener: self.
		downloadTo: '/Volumes/Fast/Squeak/Cog/vmmaker-image.zip'.]
	on: HTTPProgress
	do: [ :ex |
		Transcript show: ex asString; cr.
		ex resume ]

View this message in context: http://forum.world.st/ENH-Zinc-Streaming-Download-Progress-tp4639686.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.

More information about the Pharo-dev mailing list