Ben, You disappoint me, as I would expect you to trace senders/users of #signalProgress: ;-) ZnClient only signals certain Notifications which a UI around it should deal with. For example, [ :bar | bar title: 'Downloading Sources...'. [ ZnClient new url: 'http://files.pharo.org/sources/PharoV30.sources'; signalProgress: true; downloadTo: FileLocator temp ] on: HTTPProgress do: [ :progress | progress isEmpty ifFalse: [ bar current: progress percentage ]. progress resume ] ] asJob run. But there are other UI approaches as well. Sven
On 12 Apr 2018, at 11:25, Ben Coman <btc@openinworld.com> wrote:
I see ZnClient >> downloadTo: calls ZnClient >> downloadEntityTo: which uses #withProgressDo: which indicates a progress bar might appear.
But... ZnClient new url: ' https://download.libsodium.org/libsodium/releases/libsodium-1.0.16-msvc.zip' ; downloadTo: FileLocator imageDirectory. doesn't show a progress bar. What is the recommended way to display one?
cheers -ben