• Filetransfer Protocols

    From dragonmaster@21:1/149 to All on Mon Nov 11 16:04:52 2019
    Hi All

    i ask myself why there are no modern transfer protocols out there.
    The X/Y/Z-Modem stuff was made long before TCP and IP where used by the
    masses. But today there is no need for these old protocols. Modern terminal-programs work over tcp/ip and in most cases the filetransfer goes wrong. I tryed to integrate a version of zmodem, writen in java, an it's a mess. There is so many error correction stuff in the protocol that i decided
    to create a new protocol for my bbs ;-)

    TCP/IP has all the beautiful corrections and sorting mechanisms that the filetransfer needed. In my case the protocol is written in to linux-shell-scripts. It doesn't ask for filenames, handles batch-downloads and is very simple.

    For the Download, the Communication comes only from the BBS:
    BBS -> CLIENT: $02 (Start of Text)
    BBS -> CLIENT: FILENAME + $0D
    BBS -> CLIENT: FILELENGTH + $0D
    BBS -> CLIENT: DATA (Base64 without Linebreaks) + $0D
    BBS -> CLIENT: $04 (End of Transmission)

    The TCP/IP-Connection handles all Errors ;-)

    For the Upload:
    BBS -> CLIENT: $05 (Enquiry)
    BBS <- CLIENT: FILENAME + $0D
    BBS <- CLIENT: DATA (Base64 without Linebreaks) + $0D
    BBS -> CLIENT: $04 (End of Transmission)

    The Up- and Download-Scripts are very easy an i can post them here if needed.

    With this simple (but surely not the best solution) i can up- and download files to my bbs without any error.

    i'm very happy about this :-)

    Best Regards,
    Dragonmaster

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: XIONUM-BBS (21:1/149)
  • From lemonlime@21:4/162 to dragonmaster on Tue Nov 12 21:07:44 2019
    With this simple (but surely not the best solution) i can up- and
    download files to my bbs without any error.

    i'm very happy about this :-)

    Very cool! I had wondered about this too. Would love to check out your
    scripts. It would be cool if a standard like this could be created and added along side X/Y/Z modem for modern BBS use :)

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: Stellar Darkness BBS, Toronto, Canada (21:4/162)