by Networking.be (10 Submissions)
Category: Complete Applications Compatability: Visual Basic 3.0 Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (3 Votes)
Automatically update files using the internet. A very easy-to-use program that takes only a few commandline parameters. This can save you a lot of time if you're creating a multi-user application where many people use your program, no more running around the entire building.
Assumes Usage
au.exe /url [/app ] [/tmo ] [/ret ]
/url
Specifies the url where the version file can be found
/app
If specified, the application to be started when the updating is completed
/tmp
The connection timeout in seconds, if not specified, the default is used. default = 10
/ret
The number of retrys when a file can't be retrieved (eg when the server is busy)
The default is 2
Example
au.exe /url http://www.myserver.com/myfolder/version.dat /app myapp.exe
the version file has following format
"from","to",#date#
from: the url to the file the original file
to: the path to the file where the file must be saved to
date: a date/time containing the date and time that the file was changed
Example
"http://www.myserver.com/myfolder/myfile.dat","##apppath##\myfile.dat",#01/01/2001 7:25:00#
If TO contains ##apppath##, ##apppath## is replaced by the path of au.exe