GSoC project discussions

Ingo Klöcker kloecker at kde.org
Sat May 23 20:43:55 BST 2020


On Samstag, 23. Mai 2020 07:18:52 CEST Prasun Kumar wrote:
> > The API for this subtask would still have to be defined, but will
> > basically have to include the following methods:
> > 1. initialization - definition of the online store URL and the location
> > for the download
> > 2. checking whether updates are available
> > 3. downloading the updates
> > 
> > Furthermore it would have to be clarified which library should be used
> > for the download
> 
> cURLpp looks like a good choice. It is the official C++ binding for
> libcurl. Any other suggestions?
> 
> I am thinking about how to approach the update checking part. cURLpp can
> download the file given a URL but I didn't find any inbuilt API for
> fetching the contents of a URL (directory) yet.
> I will keep looking.

To check for an update you would probably just request the file modification 
date and time, e.g. by setting the options NoBody(true), Header(true), 
FileTime(true). (I haven't actually tested whether this works.)

Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-finance-apps/attachments/20200523/22b30ca6/attachment.sig>


More information about the Kde-finance-apps mailing list