Short: V2.1 - Gets/mirrors Aminet files (YAM) Author: Phil Beazley (pbeazley@futuresights.com) Uploader: Phil Beazley (pbeazley futuresights com) Type: comm/misc Architecture: m68k-amigaos $VER: GetAminet v2.1 (09/24/97) NOTE: This script is based (with permission) on Charles Patterson's AminetFTP script (mainly the front-end). The rest is mine. You can get Charles' original scripts at: http://www.astarnet.com/~midian DESCRIPTION: This script locates your daily/weekly Aminet uploads email in the current folder in YAM, displays the files so and allows you to choose those to download, then uses ncftp to download the selected files and optionally seperates them into your personal Aminet mirror. REQUIREMENTS: This script requires YAM v1.3.4+ (© 1995-96 Marcel Beck), a connection to the internet, rexxreqtools.library 1.3 (© 1992-94 Rafael D'Halleweyn) and ncftp 1.8.3 (Mike Gleason, NCEMRSoft (mgleason@cse.unl.edu)). INSTALLATION: Place the files in YAM's Rexx folder. You can run either from YAM's Execute Rexx from the menu bar or optionally add lineslike the following to your YAM config file: RexxMenu0 = YAM:Rexx/GetAminet.rexx RexxMenu1 = YAM:Rexx/GetAminet2.rexx CONFIGURATION: You must edit the sections marked CONFIGURATION in the BOTH files, GetAminet.rexx and GetAminet2.rexx, to suit your system or else it may not (probably not) work! Configuration variables in GetAminet.rexx: display = 15 Number of lines to display on the screen when you're selecting files to download. Default is 15. today = "Today's Aminet " weekly = "This week's Ami" These are used to recognize the Aminet uploads email. This shouldn't need to be changed. ftglist = "XFer:aminet.txt" Path and filename of the files-to-get list that is created and used by the scripts. soutput = ">KCON:0/50/640/200/GetAminetStatus/SCREEN"pubscreen"/CLOSE/PLAIN/INACTIVE" Where you want the GetAminet status output to go. Change this to suit your system. If you don't have KingCON installed, the default will NOT work. If you do not want any output, leave it blank. Configuration variables in GetAminet2.rexx: dftglist = "XFer:aminet.txt" Make this the same as 'ftglist' in GetAminet.rexx. It's only used when you run the GetAminet2.rexx script directly. ftpsite = "ftp.wustl.edu" This is the Aminet FTP server you want to use. todir = "TMP:Aminet/" This is where you want your downloads to be placed. mirror = "ON" If this is set to ON, GetAminet2 will place the downloads in the above directory in mirror form. For example, using the config shown above: If it was downloading "GetAminet.lha" from comm/misc, it would create the comm directory under TMP:Aminet/ (if it doesn't exist) and the misc directory under TMP:Aminet/comm/ (if it doesn't exist) and place the downloaded file there. ncftpath = "Miami:bin/ncftp" Path and filename of your ncftp command. ncoutput = ">KCON:0/0/640/50/GetAminet/SCREEN"pubs"/PLAIN/NODRAG/NOSIZE/SMART/INACTIVE" Where you want the GetAminet progress output to go. Change this to suit your system also. Leave it blank if you do not want any output. USAGE: Select an Aminet Uploads email in YAM. Execute GetAminet.rexx from YAM's Execute Rexx menu. Follow the instructions. :) If you choose not to download immediately, the files-to-get list will be saved and you can either append to it later with another Aminet Uploads email or execute GetAminet2.rexx and it will process the list immediately. CLOSING: I realize this is a mess and it's probably glazing over alot of important stuff, but I'm in a crunch for time and I don't know if I'm going to have time later, so here it is! Let me know if there are any blatant errors or problems and I'll see what I can do! Phil Beazley pbeazley@futuresights.com http://www.futuresights.com