#1 2016-09-27 02:24:30

daisutao
Member
Registered: 2015-05-08
Posts: 17

How to show downloading progress at client side?

Hi ab,

I need download some files from http server.
and i see the demo "26 - RESTful ORM" and modified one, it's work fine!.

but i want to show downloading progress in a progress bar on client, how to do it?

PS: server use TSQLRestServerDB + TSQLHttpServer, client use TSQLHttpClient.

Last edited by daisutao (2016-09-27 05:00:26)

Offline

#2 2016-09-27 10:59:40

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: How to show downloading progress at client side?

You have OnProgress and OnDownload event handlers for TWinINet and TWinHTTP classes.
Also ensure that you run the download in a background thread using OnIdleProgress - see http://synopse.info/files/html/Synopse% … #TITLE_290

Offline

Board footer

Powered by FluxBB