OK guys, here you go...

WebCopy is a program that copies a file from the internet to your local harddisk. From the command line, it takes two parameters: First is the internet url that you want to download. Second is the local filename where you want to save it. For example

Webcopy.Exe http://www.medata.de/kebild.gif c:\download\kebild.gif

will download a picture of my boss! Please note that this program will do NOTHING if you start it out of the Clarion IDE, because it expects these two parameters.

Internally, these two parameters are passed to the main function named "download", which returns True if everything worked ok or false if there was an error.
If you want to do version checking, I suggest the following (this is the way I do that):
First, store a version file on the internet and download that; then check if that version is newer than the local one and, if so, download the "real" file.
Since this program uses the Microsoft internet api, this will only work in 32 bits. Remember to include "wininet.lib" in your project/application. More documentation can be found in the Microsoft ActiveX SDK (sorry, forgot where I downloaded it from, but you can take a look at http://msdn.microsoft.com/library and then search for "InternetOpenUrl" or any other of the used internet functions).
This program was tested using C5EE-A, but should work with any other version (at least CW20 and above), too.

Have fun!

Jens Weiermann
MeData EDV-Systeme GmbH
Germany
