TIP: Click on subject to list as thread! ANSI
echo: mystic
to: All
from: Christian Sacks
date: 2023-08-09 14:27:00
subject: Re: Adding kermit as a pr

On 09 Aug 2023, Christian Sacks said the following...
 
 CS> After testing the files downloaded with this script, I realised the files
 CS> themselves were corrupted, so updated my wrapper script to use this
 CS> syntax for the actual downloading;
 CS> 
 CS>   /usr/bin/gkermit -d /tmp/kermit-send.log -Xis $FILE
 CS> 
 CS> -X means eXternal - seemed appropriate
 CS>  i means Binary mode transfer (default) but wanted to force it to make
 CS> sure  s means Send with the filename as the argument
 CS> 
 CS> Reckon this is good to go now =)

Another update, this time it also allows messages in message bases to be saved by kermit too;

#!/usr/bin/env bash
FILELIST="$1"
FILES=$(cat $FILELIST|tr '\n' ' ')
if [[ "$(basename $FILELIST)" == "file.lst" ]]; then
        for FILE in $FILES; do
                echo "Sending file: $FILE"
                /usr/bin/gkermit -d /tmp/kermit-send.log -Xis $FILE
        done
else
        echo "Sending file: $FILELIST"
        /usr/bin/gkermit -d /tmp/kermit-send.log -XTs $FILELIST
fi
rm $FILELIST

Still haven't tested uploads yet, but that is next =)

... My reality check just bounced

--- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
                                    
* Origin: thE qUAntUm wOrmhOlE, rAmsgAtE, uK. bbs.erb.pw (2:250/5)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.