home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.bbs.mystic      Mystic Sysops are mystical nerds...      11,842 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 11,474 of 11,842   
   Christian Sacks to Christian Sacks   
   Re: Adding kermit as a protocol option   
   09 Aug 23 14:27:07   
   
   From: nospam.Christian.Sacks@f5.n250.z2.fidonet.org   
      
   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   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca