Nп/п : 42 из 77
 От   : Christian Sacks                     2:5075/128        09 авг 23 14:27:07
 К    : All                                                   09 авг 23 17:27:17
 Тема : Re: Adding kermit as a protocol option
----------------------------------------------------------------------------------
                                                                                 
@MSGID: <357925529@f5.n250.z2.fidonet.org>
7b521d3e
@REPLY: <699515172@f5.n250.z2.fidonet.org>
2baac22e
@REPLYADDR Christian Sacks
<nospam.Christian.Sacks@f5.n250.z2.fidonet.org>
@REPLYTO 2:5075/128 Christian Sacks
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID:
<357925529@f5.n250.z2.fidonet.org>
@RFC-References:
<699515172@f5.n250.z2.fidonet.org>
@TZUTC: 1300
@PID: VSoup v1.2.9.47Beta [95/NT]
@TID: FIDOGATE-5.12-ge4e8b94
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 `
` ` `)
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

--- VSoup v1.2.9.47Beta [95/NT]
 * Origin: Agency HUB, Dunedin - New Zealand (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5058/104 5075/128
@PATH: 5075/128 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх