Short: Send FTPMail From Within Thor. Author: tbouchar@ptialaska.net (Troy E. Bouchard) Uploader: tbouchar ptialaska net (Troy E Bouchard) Type: comm/mail Architecture: m68k-amigaos There is, as far as I know, two other ftp-mail scripts out there. One is just plain ARexx and you need to be a rocket Scientist to figure out how to configure it - the other (for Thor) just plain don't work (at least not for me). So, I decided to write my own! Here it is. This one works, and the only configuring you need to do is to add your System Name (FTP_SYSTEM = 'ptialaska') an ftp EMail user and your ISP's email network name (e.g. mail.ptialaska.net) and that's it! The file ThorFTPMail.thor in this distribution is freely distributable and remains copyright by me. Anyone using this script, please send me an EMail telling me that they are using it. I wanna know if my stuff gets used - kind of a pride thing. If you modify this file - make corrections, updates, etc. then please send me a copy of your updates, corrections, whatever... As always, I will accept constructive criticism and suggestions on how I can improve the code. Negative criticism will be ignored! COMMERCIAL USAGE ================ Commercial usage is NOT allowed. Parts of the code was written by another author and I do not have his permission to release this script for commercial usage. ================ tbouchar@ptialaska.net http://www.ptialaska.net/~tbouchar Troy E. Bouchard, Cowlitz ** UNCONQUERED ** DESC ==== This script will let you select a AmiNet file for ftpmail'n from Thor's filebase. Thor must be running in order for this to work. You can also Dir or LS at your ftpmail server. You will need to have the ftpmail EMail address in your user database if you want this to work. Here's the address that I have been using to test this with: NAME: FTP Mail ADDRESS: ftpmail@doc.ic.ac.uk SUBJECT: FTP Mail For getting files via ftpmail I have been using mime, but you can choose between mime or uuencode if you want. Unfortunately I don't have any routines for: 'force mime', 'force uuencode', 'no', 'size', 'mode binary', 'mode ascii', 'compress', 'cd', 'gzip' etc. etc. etc. - That will have to come as an update. You can also edit the text in the Events Editor of Thor to change things around. Of course - then you may just as well not use this script! Requires: Thor v2.1+ - Although this script was written with Thor v2.31 - it should work with versions 2.1 and up (not tested though) =========== Thor Registration Number: 1517 *** NOTE *** The routine for selecting a user was borrowed from ForwardMsg.thor. Which was written by Petter Nilsen and used with his kind permission.