• is there a way?

    From Manu Ngamotu@21:2/109 to All on Fri Sep 18 11:31:06 2020
    Hello all.

    is there a way to make mystic be able to list all files in the files directory on a html website?

    thanks

    Manu

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Nexus Computers BBS (21:2/109)
  • From HSM@21:2/162 to Manu Ngamotu on Fri Sep 18 08:42:06 2020
    On 18 Sep 2020, Manu Ngamotu said the following...

    Hello all.

    is there a way to make mystic be able to list all files in the files directory on a html website?

    If you find a way let me know, also looking.

    -=- Gary aka HSM -=-
    -=Mystic.BBSGameTime.com=-

    --- Mystic BBS v1.12 A46 2020/08/26 (Linux/64)
    * Origin: BBS GameTime - mystic.BBSGameTime.com:23 (21:2/162)
  • From Warpslide@21:3/110 to Manu Ngamotu on Fri Sep 18 16:42:26 2020
    On 18 Sep 2020, Manu Ngamotu said the following...

    is there a way to make mystic be able to list all files in the files directory on a html website?

    If you're looking for something just to list files in html without linking them, you could do something quick & dirty like:

    html1.txt:
    <html>
    <head><title>My BBS Files</title></head>
    <body>
    <pre>

    html2.txt:
    </pre>
    </body>
    </html>

    allfiles.ini:
    [General]
    GenerateAllFiles = true
    logfile=mutil.log
    logcache=true
    loglevel=2
    logtype = 0
    maxlogfiles = 3
    maxlogsize = 1000

    [GenerateAllFiles]
    filename = allfiles.txt


    Windows, htmlallfiles.bat:
    mutil.exe allfiles.ini
    echo html1.txt > allfiles.html
    echo allfiles.txt >> allfiles.html
    echo html2.txt >> allfiles.html
    del allfiles.txt

    Linux, htmlallfiles.sh:
    ./mutil allfiles.ini
    cat html1.txt > allfiles.html
    cat allfiles.txt >> allfiles.html
    cat html2.txt >> allfiles.html
    rm allfiles.txt

    You'd then have to get allfiles.html to your website somehow.

    There may be a more elegant way of doing that, but it'd work.

    Jay

    ... Why did the police go to the daycare? A 3-year-old was resisting a rest

    --- Mystic BBS v1.12 A46 2020/08/26 (Raspberry Pi/32)
    * Origin: Northern Realms (21:3/110)
  • From Warpslide@21:3/110 to Warpslide on Fri Sep 18 16:45:52 2020
    On 18 Sep 2020, Warpslide said the following...

    Windows, htmlallfiles.bat:
    mutil.exe allfiles.ini
    echo html1.txt > allfiles.html
    echo allfiles.txt >> allfiles.html
    echo html2.txt >> allfiles.html
    del allfiles.txt

    Sorry, this should read:

    mutil.exe allfiles.ini
    type html1.txt > allfiles.html
    type allfiles.txt >> allfiles.html
    type html2.txt >> allfiles.html
    del allfiles.txt

    Mixed up my echo & type commands there for a moment.

    Jay

    ... What do you call cheese that isn't yours? Naco cheese

    --- Mystic BBS v1.12 A46 2020/08/26 (Raspberry Pi/32)
    * Origin: Northern Realms (21:3/110)
  • From Manu Ngamotu@21:2/109 to Warpslide on Sat Sep 19 10:26:59 2020
    Thanks for your help with this

    Thanks
    Manu Ngamotu
    Nexus Computers BBS
    www.nexuscomputers.com.au

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Nexus Computers BBS (21:2/109)