Beyond FTP Feature Tour
Beyond FTP Script
Editor - Server_List Command
Back
to Feature Tour


Dynamic server lists are declared using the Load keyword
following the name and optional address book folder. If the address book
folder is missing, the script compiler searches for a server list with the
specified name and a suffix of .$S$. These lists are maintained using the
Insert Server List dialog.
If the address book folder is present, the current address book is searched
for matching folder names. The keyword World is used to load servers from
the root. It may also appear as the root directory in a fully specified
path. An asterisk following the final backslash directs the compiler to
search all sub-directories for servers. For example, the following command
will load all servers:
:Server_List: All = \World\* Load
Loading two different directories might be accomplished as follows:
:Server_list: BFTPClients = \Beyond FTP Servers\ Load :Server_list:
BFTPClients = \FTP Servers\ Load
Multiple server lists may be declared in a single script, and the same name
be used to load multiple folders. Declared lists are available not only for
usage with the “!” naming variant, but will resolve the %RN wildcard value
when occurring within an Each_Server conditional scope. This allows you to
create scripts that are completely dependent on the %RN wildcard.
Static server lists are actually included in the script. The list of servers
is followed by the End_List command. Servers declared in this manner are not
actually included in the processing unless the server list name is used as a
server name in an action.
All server lists are processed at compile time. They do not appear in the
distribution file itself, but merely provide a shorthand way of writing
scripts. For this reason, the actions that appear in a distribution are the
result of any server list expansions. Fully dynamic operation is achieved
using the Recompile command.
Example:
:Server_List: APT Load
:Server_List: NY = \East Coast\New York\ Load
:Server_List: NY = \world\East Coast\New York\* Load
:Server_List: All = \world\* Load
:Server_List: APT
APTServe,
Marketing,
Domestic
:End_list:
Back
to Feature Tour

|