File-Boxes

Binkley-Style Outbound is not the only place where outgoing files are kept. It is possible to associate a separate directory for storing outgoing files for each node. Argus periodically scans these directories. If a program of the sysop copies files to this directory, the files would be attached to the node using the status corresponding to this directory.

Use Config/File-Boxes dialogue box (Ctrl+B) to set up file-boxes.

Options/Root directory input line of this diallog allows to define a root for all file-box directories listed in Nodes/Path string grid. The rules of adding Root directory to file-box directory are the same as for Home Directory of Config/Paths.

Value of string of a Node column may be a valid FTN address or a Pure Address Mask (i.e. such address mask cannot combine both asterisk and digit characters without a separator, e.g. 2:*/*.* is allowed and 2*:*/*.* is not allowed) or Regular Expression.

Value of string of a Status column may be one of the following:

C
Crash-status file-box
D
Direct-status file-box
N
Normal-status file-box
H
Hold-status file-box
*
Any-status file-box

Value of string of a Path column may contain macros.

%ZONE
FTN zone in decimal (1-4 decimal digits)
%NET
FTN network in decimal (1-5 decimal digits)
%NODE
FTN node in decimal (1-5 decimal digits)
%POINT
FTN point in decimal (1-5 decimal digits)
%HZONE
FTN zone in hex (3 hex digits)
%HNET
FTN net in hex (4 hex digits)
%HNODE
FTN node in hex (4 hex digits)
%HPOINT
FTN point in hex (4 hex digits)
%XZONE
FTN zone in radix-32 (2 radix-32 digits)
%XNET
FTN net in radix-32 (3 radix-32 digits)
%XNODE
FTN node in radix-32 (3 radix-32 digits)
%XPOINT
FTN point in radix-32 (2 radix-32 digits)
%STATUS
Status (C=Crash, D=Direct, N=Normal, H=Hold)
%TSTATUS
Same as %STATUS, but empty value represents Normal status.
%STMAIL
Same as combination %XZONE%XNET%XNODE.%XPOINT%TSTATUS
%LTMAIL
Same as combination %ZONE.%NET.%NODE.%POINT?%TSTATUS

As you see, macros are used to bound a path to particular nodes if value of string of a Node column contains a mask or Regular Expression. To be able to bind multiple directories to a node, value of string of Path column may also contain *, ?, % wildcards or Regular Expressions.

Value of string of a Path column may contain additional path (separated by pipe ("|") character) to where files sent from this file-box will be moved. For reliable operation the files are moved, not copied.

Example: c:\ab\out|c:\ab\sent

This path is called sent path. Make sure that file-box and sent path directories are on the same physical drive or volume in order Win32 API MoveFile() function would not fail with error "The system cannot move the file to a different disk drive".

If not sent path is specified, files would be deleted after successful transfer.

Sent path may contain additional macros, representing current local date.

%YEAR
Year in decimal (4 digits).
%MONTHN
Month in decimal (2 digits), 1 = January, 2 = February, etc.
%MONTHA
Month in abbreviation (3 letters), Jan = January, etc.
%MONTHS
Month in short abbreviation (2 letters), Jn = January, etc.
%DAY
Day of month in decimal (2 digits).
%DOWN
Day of week in decimal (1 digit), 0 = Sunday, 1 = Monday, etc.
%DOWA
Day of week in abbreviation (3 letters), Sun = Sunday, etc.
%DOWS
Day of week in short abbreviation (3 letters), Su = Sunday, etc.
%HOUR
Hour in decimal (2 digits).
%MINUTE
Minute in decimal (2 digits).
%SECOND
Second in decimal (2 digits).

Files in file-boxes are displaying in Outbound Manager Tab, but no operation is permitted on them via Outbound SmartMenu. SmartMenu only applies to files attached via Binkley Outbound.

Example of File Boxes configuration grid:

Node Status Path
2:469/38
N
out38|sent38

Root directory: c:\fl

In this case, files that are copied to c:\fl\out38 directory will be automatically attached to node 2:469/38 with normal status. This means, according to Normal status, that all the files from the directory will be transmitted to the node on either incoming or outgoing call. After successful transmission, files will be moved to c:\fl\sent38 directory.

Another example, now using a macro:

Node Status Path
2:469/*.0
N
out%NODE|sent%NODE

In this case, file-box for 2:469/38 will be out38, same as in previous example, but we are also defining file-boxes for all nodes of 2:469. File-box for 2:469/39 will be out39, for 2:469/40 will be out40, and so on.

To define T-Mail-compatible file-boxes tree in c:\t-mail\fboxes, use the fillowing:

Node Status Path
*:*/*.*
*
c:\t-mail\fboxes\%STMAIL