Is there a way to auto hatch a file manually put via automation into a networked file area, think auto created nodelist generated and having Mystic hatch it for the downlinks
Is there a way to auto hatch a file manually put via automation into a networked file area, think auto created nodelist generated and having Mystic hatch it for the downlinks
the same was a text files can be posted to echo areas. And I'm fairly
sure g00r00 was open to such an idea and it's now on his massive TODO
list :) I'd say just watch this space and something may come of it in time.. but for now my first suggestion is the way I suggest you do it.
One of the restrictions is that the file has to be in the BBS filebases for it to be hatched, because that is how the hatching details are tracked...
Mystic needs a way to know BBS-related data about the file so that if you compile a list of files you want hatched automatically (whenever they're updated), Mystic can look to see if each particular file was updated and whether or not it has been hatched yet.
Because of that the process would probably be for your file to get
copied into the proper file base, then MUTIL would catch that it was updated via mass upload and flag it as changed. MUTIL would then see it has been updated and hatch it based on its configuration of auto-hatched files.
We'll probably end up with something like an MUTIL stanza that has a
list of file references by file base ID and filename:
file=3;nodelist.zip
file=12;mys112a*.*
list :) I'd say just watch this space and something may come of it in time.. but for now my first suggestion is the way I suggest you do it.
1) Sysop points to assorted files in a folder and says to MUTIL do a special mass upload of the files with a mask of bre*.* to file index
area 1, do the same for files called impure*.* and upload to file index area 2 etc.. *and* hatch anything uploaded immediately thereafter. I say
So in this scenario the BBS is only 'learning' of the new files as they are being uploaded and added to file bases.. there is no compare old
with new logic.
There are two ways I think automated hatching can/will work:
The first is MUTIL could have an "auto hatch" section where you list
files and their file bases that you want to hatch whenever they're updated. Say base 12 file "nodelist.zip". To hatch it you'd just have your batch file that generates the nodelist copy nodelist.zip into it's filebase's directory and thats it...
MUTIL's massupload will find that nodelist.zip changed, and update Mystic's filebases. MUTIL's auto hatch will then see the changed file, check if its been hatched, and hatch it if it hasn't.
The alternative to that would be a command line hatch where you might say "mutil -Hatch 12;filename.zip" and it will put the file into file base 12's directory for you, then update Mystic's file listings, and finally queue it for hatching.
They both do the same thing at the end of the day. The difference is the command line will let you hatch a single file anywhere and it'll move it for you whereas the MUTIL approach is more powerful in the long run.
For example: I have MUTIL AutoHatch configured to hatch "mys112*.*" from base 15 which is "Mystic Alphas" file base. My build script creates the new archives and drops them in "c:\mystic\files\mysticalphas". Thats
all it takes and Mystic does the rest.
MUTIL MassUpload sees all these new files and updates the file database. MUTIL AutoHatch look at mys112*.* and sees they've changed and hatches them.
If we choose strictly the command line option then the question is, where does that command line go? MIS? FIDOPOLL? MUTIL? MYSTIC?
So in this scenario the BBS is only 'learning' of the new files as th are being uploaded and added to file bases.. there is no compare old with new logic.
I think the above answered your question, but massupload doesn't just upload files, it will check their file information too and detect change.
Avon wrote to Nugax <=-
On 12/09/17, Nugax pondered and said...
Is there a way to auto hatch a file manually put via automation into a networked file area, think auto created nodelist generated and having Mystic hatch it for the downlinks
I you generate a .TIC file with the incoming file then Mystic would
toss and hatch it to connected node. But asides that I can't think of
any way of doing it. I'm fairly sure I have asked in a wish list some
time ago if a MUTIL hatching stanza could be added so files could be hatched in the same was a text files can be posted to echo areas. And
I'm fairly sure g00r00 was open to such an idea and it's now on his massive TODO list :) I'd say just watch this space and something may
come of it in time.. but for now my first suggestion is the way I
suggest you do it.
Avon wrote to g00r00 <=-
On 12/10/17, g00r00 pondered and said...
There are two ways I think automated hatching can/will work:
The first is MUTIL could have an "auto hatch" section where you list
files and their file bases that you want to hatch whenever they're updated. Say base 12 file "nodelist.zip". To hatch it you'd just have your batch file that generates the nodelist copy nodelist.zip into it's filebase's directory and thats it...
Sounds good to me. And this would also allow for wildcard notation also
so as to pick up variations on a file name? Or would this require a
fixed filename to work?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 307 |
Nodes: | 16 (2 / 14) |
Uptime: | 04:15:01 |
Calls: | 6,900 |
Calls today: | 17 |
Files: | 12,370 |
Messages: | 5,424,165 |