Short:        Set up individual local paths for each FTP site
Author:       Neil Bothwick <neil@wirenet.co.uk>
Uploader:     Neil Bothwick <neil wirenet co uk>
Type:         util/dopus
Version:      1.0
Architecture: generic

This script is designed to be called as the FTP Connect Success script.

On successful connection to an FTP site it will open a second lister
containing the path specified for that site, or for a default.
If there is no match and no default, no lister will be opened.

It first scans the list of available listers, so if a non-busy lister
is already open for the directory specified for the site, it won't open
a second one.

Requirements:

rexxdossupport.library 3.5 or later, available from Aminet
ftp://de.aminet.net/pub/aminet/util/rexx/rexxdossupport.lha


Installation:

Copy FTPlocal.dopus to DOpus5:Arexx

Copy FTPlocal.prefs to DOpus:Settings and edit it to suit your needs.
The format is explained in the file.

Copy rexxdossupport.library to LIBS:

Set your FTP Connect Success script to DOpus5:Arexx/FTPlocal.dopus5

rexxdossupport.library is needed for path comparison. If you have a configured
path of Downloads: it will be shown in the lister as Work:Downloads (or wherever
it is assigned) and the lister query path command will return DH2:Downloads.
If anyone knows a reliable way of comparing these without using an external
library I'd appreciate an email.


Neil Bothwick <neil@wirenet.co.uk>