AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

comm/www/UpdateProgram.lha

Mirror:Random
Showing: ppc-morphos icongeneric icon
No screenshot available
Short:ARexx script for your programs own online update (rxsocket.library)
Author:"Bruce steers" bsteers at ukonline.co.uk
Uploader:http://web ukonline co uk/bsteers/
Type:comm/www
Version:1.0 (02.12.2001)
Architecture:m68k-amigaos
Date:2001-12-03
Download:comm/www/UpdateProgram.lha - View contents
Readme:comm/www/UpdateProgram.readme
Downloads:760

                This handy arexx script is all you need to give
                     your programs an online update feature.
Main Features:
Very easy to use.
Uses rxsocket.library

 Syntax:
 UpdateProgram.rx DataURL/A , VersionString/A , DLDir/A

 Explanation:

 DataURL = url for your versions data file.
 VersionString = FULL version String for your program
 DLDir = default dir to use for download path requester

 Example:
 rx UpdateProgram.rx http://www.myweb.com/versions.dat "$VER: myprog 1.0 (10.11.2001)" Ram:


Notes:

DataURL is a URL for an ascii list of version strings and URLs
this file is downloaded to T: and searched for program name matches.

There is an example versions.dat supplied for a crystal clear view.

VersionString MUST have the $VER: prefix and have the date in brackets.

DLDir should be a valid path like Ram: or the dir of the calling program/script.


Run the TestUpdateProgram dos script to see how simple it is to call.


Converting to your own language is simple as all the text
is defined at the bottom of the script.

ALL Online actions use RXSocket.library so it will work for WinUAE users.


Made By Bruce Steers
Please send me your thanks if you decide to use this script.

mailto:bsteers@ukonline.co.uk
http://web.ukonline.co.uk/bsteers/

Enjoy this script


Contents of comm/www/UpdateProgram.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1728    2787  62.0% -lh5- 0e70 Dec  2  2001 UpdateProgram.info
[generic]                  102     107  95.3% -lh5- 47f5 Dec  2  2001 UpdateProgram/Test_UpdateProgram
[generic]                 1031    2015  51.2% -lh5- 1e1b Dec  2  2001 UpdateProgram/Test_UpdateProgram.info
[generic]                  779    1591  49.0% -lh5- aa0a Dec  2  2001 UpdateProgram/UpdateProgram.readme
[generic]                  781    1221  64.0% -lh5- ae2f Dec  2  2001 UpdateProgram/UpdateProgram.readme.info
[generic]                 2600    6149  42.3% -lh5- dd85 Dec  2  2001 UpdateProgram/UpdateProgram.rx
[generic]                 1427    2869  49.7% -lh5- 9007 Dec  2  2001 UpdateProgram/UpdateProgram.rx.info
[generic]                  234     620  37.7% -lh5- aaf2 Dec  2  2001 UpdateProgram/versions.dat
[generic]                  775    1203  64.4% -lh5- dfd6 Dec  2  2001 UpdateProgram/versions.dat.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         9 files    9457   18562  50.9%            Dec  2  2001
Page generated in 0.01 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>