If you wanted to zip them up and upload to Agency I can hatch them out
if you wanted :)
Hey Avon, i uploaded a zip with the two shell scripts and the template ini on your Agency BBS.
The scripts get the textfiles from a FTP server and post them afterwards.
Usage:
Copy both shell scripts to the Mystic BBS directory. Create the directories "news", "old_news", "templates" and "newstemp".
Copy the template.ini file into the templates directory and edit the file to match your needs.
Now edit the "get_news_from_ftp.sh" and replace the URL of the FTP Server, username and password.
Now create an event in Mystic BBS that runs hourly and executes the "/mystic/get_news_from_ftp.sh" to get the text files from the FTP Server.
Create another event that is type semaphore and waits for a file called "news.txt" and runs the script "/mystic/post_news.sh".
Finished.
Now when the first task is run, the textfiles are moved from the FTP server
to the "/mystic/news" dir and the semaphore file "news.txt" is created.
Then the second event is triggered and for every text file in the news dir a ini file is created to run mutil with it.
So, hope this helps.
Regards
Andreas
-=Kautzner-Computer-Museum=-
zahrl.ddns.net:2023
https://kcm.or.at
--- Mystic BBS v1.12 A46 2020/08/26 (Raspberry Pi/32)
* Origin: KCM BBS (21:1/218)