User Tools

Site Tools


mutil_import_filebone_na

This is an old revision of the document!


Import FILEBONE.NA into file bases

The '[Import_FILEBONE.NA]' stanza tasks MUTIL with running a function that will bulk auto create a number of file bases in Mystic for you.

MUTIL looks to a specially formatted text file that you specify. It's formatted with area tag and a description of the file base. Mystic then will create the files bases contained in this file en-mass and quickly!

Here's an example of a .NA file that comes from fsxNet

% File Echo                   Description
%
Area FSX_NODE     0     !       FSX: Current Nodelist
Area FSX_INFO     0     !       FSX: Current Infopack
Area FSX_MYST     0     !       FSX: Mystic BBS Software, Utils etc.
Area FSX_MGKA     0     !       FSX: Magicka BBS Software, Utils etc.
%
% End of FSXNet Fileecho List

To enable this function you modify the '[general]' stanza as follows:

[general]

Import_FILEBONE.NA      = true

There a several switches you can configure that relate to this function.

The filename to read when running the import process.

; filename to import
  filename = fsx_file.na
  

Should Mystic convert area tags to lowercase?

; convert tags to lower case for message base filename  1=yes
  lowercase_filename = 1

Define the root directory to create file paths under.

When a new filebone echo is found, mUtil will create a file using “root_dir” + areatag. So for example if root is “c:\mystic\filebase\” and the areatag is MYSTICBBS it will create “c:\mystic\filebase\MYSTICBBS”. This root directory MUST exist.

root_dir = c:\mystic\files\

The following options define the “default” values used when creating any file bases.

; File to display when accessing this file base
  dispfile     =

; Temple to use when displaying this file base
  template     = ansiflst

; ACS to see the file base   
  acs_list     =

; ACS to FTP from the file base
  acs_ftp      =

; ACS to download files from the file base
  acs_download =

; ACS to upload files to the file base
  acs_upload   =

; ACS to hatch files to connected echonodes
; this feature is under development
  acs_hatch    =

; ACS to use the message base with sysop access
  acs_sysop    = s255
  
; true/false type values 0=false 1=true (newscan 2=forced)

; Are downloaded files counted against a users download limits?
  free_files    = 0

; Display who uploaded the file in the file base?
  show_uploader = 1

; Should this file base be included in a new files scan?
  new_scan      = 1
mutil_import_filebone_na.1461549217.txt.gz · Last modified: 2016/04/24 20:53 by avon

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki