AmiNetGet - an new AmiNet download tool 1: Preface This program takes a piece of the AmiNetIndex and creates an getfile that you can pipe to an ftp program. 2: Why use this program instead of AmiNet Download tool? When you are at home and browsing the index for files, you can cut out the interesting parts and then create a getfile for dl. That can't be done in ADT (to my knowledge) 3: What do you need to run this program? Included are the sourcecode. You need an C++ compiler to compile this program. ********** ** DOCS ** ********** This Docs is kinda thin, but it describes things enough (I think) Use this program at own risk! First, create an .netrc file. Info how to create such file, you can get from the FTP help file from aminet. Get an INDEX file or the recent file. In the top of the sourcecode you find this 2 lines int Maate; Maate = 1; Set Maate to 1 if: you want to choose the files with a * in from of every file you want to download. Not neccesary to remove any lines from the index file. SourceCode line: Maate = 1; Set Maate to 2 if: you want to get every line in the indexfile. Remember to remove ALL lines that don't contain fileinfo SourceCode line: Maate = 2; REMEBER: # must be included at the last line on both ways. Check the examples! Remember to (re)compile! I've got 2 versions of the program: aminetget and aminetget-a. The -a is for all (Way 2). You should only compile both ways if you use both ways (many don't). Example 1: Those files you want you put an * infront --- Start included --- | Recent uploads to ftp.wustl.edu [128.252.135.4] on 30-May-94 | The last 7 days' uploads, newest first. Blank line=new day, + = long .readme | |File Dir Size Description |------------------- --- ---- ----------- rustick.lha mods/misc 50K+A Module by Baroque/Freelance omni.lha mods/misc 39K+A Module designed by Baroque/Freelance filth.lha mods/misc 31K+A Module created by Baroque/Freelance delay14.lha mods/misc 2K+An Intro Module by Baroque/Freelance constructive.lha mods/misc 53K+A Module Composed by Baroque/Freelance carabia.lha mods/misc 15K+An Intro Module by Baroque/Freelance *090000.jpg pix/misc 228K+JPEG Picture made with VistaPro *008150.jpg pix/misc 221K+JPEG Picture made with VistaPro *007180_2.jpg pix/misc 273K+JPEG Picture made with VistaPro *006140_1.jpg pix/misc 213K+JPEG Picture made with VistaPro *005140.jpg pix/misc 267K+JPEG Picture made with VistaPro *000290a.jpg pix/misc 272K+JPEG Picture made with VistaPro *000001.jpg pix/misc 199K+JPEG Picture made with VistaPro #awesome_mods.lha mods/misc 1.4M+Some mods by Dr.Awesome (oldish, crap-ish) tech2.lha mods/misc 193K+My first mod. Technoraveafunkasuicide. GUIToolsV38_1src.lha dev/m2 30K+modula-2 source of the guitools.library (3 m2lmc.lha dev/m2 42K+Std. lib module->module for m2liblink conv DNetSolaris.lzh comm/net 175K DNet 2.40 for Solaris 2.3. Sources and bin --- End included --- Output script: bin prompt verbose cd /pub/aminet/pix/misc mget 090000.* cd /pub/aminet/pix/misc mget 008150.* cd /pub/aminet/pix/misc mget 007180_2.* cd /pub/aminet/pix/misc mget 006140_1.* cd /pub/aminet/pix/misc mget 005140.* cd /pub/aminet/pix/misc mget 000290a.* cd /pub/aminet/pix/misc mget 000001.* bye Example 2: Here we only put a # at the end --- Start included --- RCS_TTX.lha util/rexx 4K+Integrate TurboText and RCS (ARexx macros) proteus.lha comm/bbs 53K+A C-NET Pfile that interfaces AmiTCP and u avail10.lha util/cli 1K+Shows available memory like WB titlebar. O T-16.lha gfx/3dobj 81K+[IM OBJ] An Incom T-16 Skyhopper from Star anetfaq.lzh docs/help 77K+Amiga Networking FAQ ar218.lha docs/mags 51K+Amiga Report 2.18, 3-Jun-94 snma_1.70.lha dev/asm 75K+680x0 amiga macro assembler exa.lha util/misc 22K+Launch actions depending of the type of fi Caviar.txt docs/rview 7K REVIEW: Western Digital Caviar hard disk USFlag.lha gfx/anim 997K+50 frame anim of US Flag jade-3.1.lha util/edit 400K+Source for jade-3.1-amiga.lha jade-3.1-amiga.lha util/edit 229K+Programmable, programmer's editor #TJBEssentialSel.lha mus/smpl 658K+Vocal samples from various TV programs TJBAnalogDisk.lha mus/smpl 483K+Disk of analog bass samples GastonMWBIcons.lha pix/icon 76K+Another MWB Icon collection... Blizzard1230II.txt docs/rview 16K+REVIEW: Blizzard 1230-II accelerator/RAM e Blizzard1220_2.txt docs/rview 9K+REVIEW: Blizzard 1220/4 accelerator/RAM ex Blizzard1220.txt docs/rview 5K+REVIEW: Blizzard 1220/4 accelerator/RAM ex --- End included --- This will give you: --- Start included --- bin prompt verbose cd /pub/aminet/util/rexx mget RCS_TTX.* cd /pub/aminet/comm/bbs mget proteus.* cd /pub/aminet/util/cli mget avail10.* cd /pub/aminet/gfx/3dobj mget T-16.* cd /pub/aminet/docs/help mget anetfaq.* cd /pub/aminet/docs/mags mget ar218.* cd /pub/aminet/dev/asm mget snma_1.70.* cd /pub/aminet/util/misc mget exa.* cd /pub/aminet/docs/rview mget Caviar.* cd /pub/aminet/gfx/anim mget USFlag.* cd /pub/aminet/util/edit mget jade-3.1.* cd /pub/aminet/util/edit mget jade-3.1-amiga.* bye --- End included --- How to create the script: ========================= AmiNetGet < RECENT > getfile The index file is RECENT and the output is getfile Check under how to start the download. I recomend that you look through the output file (getfile) because there can be some unsupported files. How to start download: ====================== Example: ftp.netnet.net < getfile Then all the files you have selected is downloaded. Remember to start this in an seperate catalogue. Etc: ==== You can report bugs, etc to: michaelh@colargol.idb.hist.no This docs is thin, I know, but this is a simple way to do one kind of aminet downloading. You can modify the source, but I would like to know about it. Remember to tell where you got it first from... This could be easy done in a script with awk, but what the heck.. This works too!