• Invoke ZMODEM transfer from DOOR program

    From xqtr@21:1/111 to All on Sunday, October 29, 2017 20:20:02
    Hi,

    Is there a way to initiate a zmodem transfer from a door program? From MPL is easy with a command, but if you want to make a DOOR program, how can you
    offer to a user to download files? Is this even possible?

    Thanx... :)

    .----- --- -- -
    | Another Droid BBS
    : Telnet : andr01d.zapto.org:9999 [UTC 11:00 - 20:00]
    . Contact : xqtr.xqtr@gmail.com

    --- Mystic BBS v1.12 A34 (Raspberry Pi/32)
    * Origin: Another Droid BBS (21:1/111)
  • From Tiny@21:1/130.4 to xqtr on Sunday, October 29, 2017 16:59:40
    Is there a way to initiate a zmodem transfer from a door program? From
    MPL is easy with a command, but if you want to make a DOOR program, how can you offer to a user to download files? Is this even possible?

    Yes it is, you would have to configure your door to find your external
    zmodem program or code it in. If you want I can hunt down the part of my
    old pop3 email door that gave the option to download file attachemnts for
    you? It's pascal. Let me know, but as I recall I just shelled out to
    the dsz program....

    Shawn


    --- MagickaBBS v0.7alpha (Linux/armv7l)
    * Origin: Smells like raspberry pi in here. (21:1/130.4)
  • From xqtr@21:1/111 to Tiny on Monday, October 30, 2017 19:02:53
    Yes it is, you would have to configure your door to find your external zmodem program or code it in. If you want I can hunt down the part of my old pop3 email door that gave the option to download file attachemnts for you? It's pascal. Let me know, but as I recall I just shelled out to
    the dsz program....

    Ohhh yes... if you have some Pascal code, i would love to get a look... Probably i will use the external program, but i would like to see how to use pascal to invoke a download. Thank you.

    .----- --- -- -
    | Another Droid BBS
    : Telnet : andr01d.zapto.org:9999 [UTC 11:00 - 20:00]
    . Contact : xqtr.xqtr@gmail.com

    --- Mystic BBS v1.12 A34 (Raspberry Pi/32)
    * Origin: Another Droid BBS (21:1/111)
  • From Tiny@21:1/130.4 to xqtr on Monday, October 30, 2017 15:59:46
    Ohhh yes... if you have some Pascal code, i would love to get a look... Probably i will use the external program, but i would like to see how to use pascal to invoke a download. Thank you.

    I just stored the external protocol commadnline in the config file and
    used it as such:

    fdownload:=externprot + ' ' + Sendparam + ' ' + exedir + 'NODE' +
    ItoS(node) + '\' + filenametodownload;
    Exec(GenEnv('COMSPEC'), '/C ' + fdownload);

    Senedparam was the commandline for sending a file to the user
    the file was copied to the doors home directory plus NODEx ie: c:\doors\popemail\node1\money.zip

    from the config file:

    externprot d:\max\doors\tiemail\cexyz2.exe
    SendParam /l57600 /p%h /sz

    Hope this helps!


    --- MagickaBBS v0.7alpha (Linux/armv7l)
    * Origin: Smells like raspberry pi in here. (21:1/130.4)
  • From xqtr@21:1/111 to Tiny on Monday, October 30, 2017 22:29:57
    fdownload:=externprot + ' ' + Sendparam + ' ' + exedir + 'NODE' + ItoS(node) + '\' + filenametodownload;
    Exec(GenEnv('COMSPEC'), '/C ' + fdownload);
    Hope this helps!

    It sure does... :) Thank you!

    .----- --- -- -
    | Another Droid BBS
    : Telnet : andr01d.zapto.org:9999 [UTC 11:00 - 20:00]
    . Contact : xqtr.xqtr@gmail.com

    --- Mystic BBS v1.12 A34 (Raspberry Pi/32)
    * Origin: Another Droid BBS (21:1/111)
  • From Tiny@21:1/130.4 to xqtr on Tuesday, October 31, 2017 12:38:24
    Quoting xqtr to Tiny <=-

    It sure does... :) Thank you!

    Very welcome.

    Shawn

    ... Hard work has a future payoff. Laziness pays off now.
    --- Blue Wave/386
    * Origin: Smells like raspberry pi in here. (21:1/130.4)