Toolbox.pas contains some things I have done to manage :
- INI (store window position...),
- SQL (escape quote...),
- Strings (additional functions to extract text within html/xml node, ...),
and which are very usefull. I include it (or part of it) in all my projects (with another one called drivesoft.pas which contains usefull things found on the forum).
The wbGetFile.exe download a file : wbGetFile <url of the document to download> <filename>
The full projet is a rss stream downloader http://codyssea.com/index.php/2017/08/20/podcastor.
I have made wbGetFile to download the files in the background (without blocking the app) because the content of rss stream can be really big...
I use a timer to manage the process with some steps : to check if there is something to download, to launch wdGetFile (with OpenFile), to wait from the completion,... and to loop.
In fact, I use MVD to build the UI of my applications and process the data in background with some exe (made with MVD or other languages because MVD isn't multithread and I/O are blocking). The first version of wdGetFile was made with .Net (but I made another with purebasic to have less dependencies).
And finaly I use InstallCreator to build the install.