If you're using Mystic on BASH, here is my workaround script:
For completeness, here is the BATCH file version of the same script for Windows. Obviously, this is for Dovenet, but you can edit as needed.
usage: ftp.bat USERNAME PASSWORD
In mystic, pass in the username and password as the arguments in the event editor
Profit!
******BEGIN SCRIPT******
@ECHO off
REM If we don't have two arguments passed in, exit
IF [%2] EQU [] (
ECHO Usage: %0 USERNAME PASSWORD
GOTO EOF
)
SET HOST=vert.synchro.net
SET USER=%1
SET PASSWORD=%2
SET QWKFILE="vert.qwk"
SET REPFILE="vert.rep"
SET BASEDIR=c:\mystic\dove
SET QWKDIR=%BASEDIR%\vert_in
SET REPDIR=%BASEDIR%\rep
REM This is created on-the-fly and will be deleted so any name is fine
SET FTPFILE=vert_synchro_net.ftp
REM Must be run from c:\mystic or location of mystic.dat
IF NOT EXIST %REPDIR%\%REPFILE% (
qwkpoll all export %REPDIR%
)
REM Create the ftp config on the fly so we don't have to maintain files
( ECHO
open %HOST%
ECHO %USER%
ECHO %PASSWORD%
ECHO binary
ECHO put %REPDIR%\%REPFILE% %REPFILE%
ECHO get %QWKFILE% %QWKDIR%\%QWKFILE%
ECHO bye
%FTPFILE%
IF EXIST %FTPFILE% (
ECHO Connecting via FTP to %HOST%
ftp -i -s:%FTPFILE%
) ELSE (
ECHO No FTP config file found
EXIT
)
IF EXIST %QWKDIR%\%QWKFILE% (
ECHO %QWKFILE% downloaded, importing...
Qwkpoll all import %QWKDIR%
ECHO Deleting %QWKFILE% after import complete
DEL vert.qwk
) ELSE (
ECHO No new messages found
)
IF EXIST %REPDIR%\%REPFILE% (
ECHO Deleting %REPFILE% after upload complete
DEL %REPDIR%\%REPFILE%
)
:EOF
******END OF SCRIPT******
-Analog
--- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
* Origin: deadbeatz.org (21:2/123)