Hi,
I've had a look at FreqIT, so that other systems can request files from my BBS via BinkP.
As the wiki page states, it is possible to define a "MAGIC" eg. for being able to request the latest nodelist using a wildcard as the 'real' filename. So eg. a magic called "NODELIST" can be set to "NODELIST.*" in a file area.
But if I eg. have a file area where not only the latest nodelist is stored but also older ones, how does the magic react to this?
If I've undestood the JavaScript source freqit_common.js in 3.18b correctly, I would get *all* nodelist files, is this correct?
Can FreqIT be configured to only send out the latest file for a wildcard?
Looking at the current freqit_common.js myself, it appears it would return the *latest* file matching the pattern associated with the magic word.
Looks to me like that's how it already works:
if (file === undefined || fent.uldate > file.uldate)
file = fent;
[WEEDNODE]
Dir=weednet_nodelist
Secure=No
----</freqit.ini>
I think you need to add a match statement here, something like..
Match=WEEDNET*.ZIP
Match=WEEDNET.Z*
might work better.
I've added it so that my freqit.ini looks like this:
----<freqit.ini>
MaxFiles=10
Dirs=weednet_nodelist
[WEEDNODE]
Dir=weednet_nodelist
Secure=No
Match=WEEDNET.*
----</freqit.ini>
Match=WEEDNET.Z*
might work better.
Thank you for your suggestion.
I've added it so that my freqit.ini looks like this:
----<freqit.ini>
MaxFiles=10
Dirs=weednet_nodelist
[WEEDNODE]
Dir=weednet_nodelist
Secure=No
Match=WEEDNET.*
----</freqit.ini>
But the result stays the same - I don't get any files...
Is it possible that there is some uppercase/lowercase problem?
But it still does not work :-(
Is your SBBS running on Linux? Which version of SBBS are you using?
Could you try to request eg. WEEDNET.Z32 as one file and/or WEEDNODE
as a magic? My fido node is 2:240/5824.
It worked for me! :)
I did request WEEDNET.Z32 and got WEEDNET.Z32 and weednode and I got back WEEDNET.Z32 also.
I also requested weedinfo and got wn_info.zip.
Looks OK to me.
Oh?! Okay. Then there is a problem in OpenXP's way of requesting
files. That's strange.
Did you request "weednode" or "WEEDNODE"? Do both variants work from
your side? Could you check this?
Thank you very much!
Hello acn,
I think you need to add a match statement here, something like..
Match=WEEDNET*.ZIP
Actually..
Match=WEEDNET.Z*
might work better.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 412 |
Nodes: | 16 (0 / 16) |
Uptime: | 134:06:04 |
Calls: | 8,602 |
Calls today: | 3 |
Files: | 13,234 |
Messages: | 5,935,248 |