• DoveNet automation

    From Phantom Nomad@21:2/143 to All on Thu Dec 21 13:13:46 2017
    Just wanted to let everyone know that I kinda kludged together a script that seems to work for the moment. It's not perfect by any means as it doesn't check to see if the packet downloaded actually successfully imported or
    skipped messages. But for now it should do the job. I've attached it below.

    #!/bin/sh

    HOST='dove.synchro.net'
    USER='username'
    PASSWD='password'
    FILE='vert.qwk'

    cd /mystic/localqwk

    ftp -n $HOST <<END_SCRIPT
    quote USER $USER
    quote PASS $PASSWD
    get $FILE
    END_SCRIPT

    "/mystic/qwkpoll all IMPORT /mystic/localqwk"
    rm /mystic/localqwk/vert.qwk

    exit 0

    I had to put the IMPORT in quotes as mystic uses this as a escape character.

    Stephen

    --- Mystic BBS v1.12 A36 2017/12/03 (Linux/64)
    * Origin: The Bit Bucket (21:2/143)
  • From Accession@21:1/200 to Phantom Nomad on Thu Dec 21 16:33:54 2017
    On 12/21/17, Phantom Nomad said the following...

    Just wanted to let everyone know that I kinda kludged together a script that seems to work for the moment. It's not perfect by any means as it doesn't check to see if the packet downloaded actually successfully imported or skipped messages. But for now it should do the job. I've attached it below.

    Doesn't Mystic's qwkpoll already do all of that for you? Or were you just trying to replicate it in script form?

    Regards,
    Nick

    --- Mystic BBS v1.12 A37 2017/12/16 (Linux/64)
    * Origin: _thePharcyde telnet://bbs.pharcyde.org (Wisconsin) (21:1/200)
  • From Phantom Nomad@21:2/143 to Accession on Fri Dec 22 11:00:10 2017
    On 12/21/17, Accession said the following...
    Doesn't Mystic's qwkpoll already do all of that for you? Or were you just trying to replicate it in script form?

    I was trying to replicate it in script form. I just wanted to automate it at least a little bit until I figure out what's wrong with my setup using
    qwkpoll.

    Stephen

    --- Mystic BBS v1.12 A36 2017/12/03 (Linux/64)
    * Origin: The Bit Bucket (21:2/143)