Gidday team !
I need my delphi app to download files from one folder on my server. I can write the code for a single file download but I need to download all files in this server folder into a local folder on the users pc. For eg:
// this would be my web server
'c:\application\files' // this is the local folder
Now my application needs to check the webserver folder (say every 5 minutes) for the file contents and compare them with the local file contents. If any file is missing on the server (but resides in the local folder) then application is to delete it from local folder.
At the same time, if any addition file is found on server but not on local machine then it should download it.
This application is a console app that uses an advertising clicker on the bottom of the form. Ads willd rotate and change every minute. The above information will help me to regularly check for new adverts to download and/or adds that have been removed.
Lastly, the downloaded files are '.jpg' files that my app will load into an image. Don't know how to load gif files(moving) yet so I will stick to still adds. Can this be done without downloading them ?
Thanks in advance