• Code for files

    From Spiritwild@TALAMASC/SPIRIT to Digital Man on Sunday, January 30, 2000 06:58:00
    Hey Rob, What's the best code to add to a baja mod to download a perticular file ? Lets say a menu that has "hit [D] to download this file"
    Thanks!

    ---
    ■ Synchronet ■ SPIRIT OF THE WILD BBS
  • From PistolGrip@WASTELND to Spiritwild on Sunday, January 30, 2000 10:29:00
    RE: Code for files
    BY: Spiritwild to Digital Man on Sun Jan 30 2000 01:58 pm

    Hey Rob, What's the best code to add to a baja mod to download a perticular file ? Lets say a menu that has "hit [D] to download this file"
    Thanks!

    FILE_DOWNLOAD
    -------------
    This function attempts to download all files matching the filespec contained
    in the current command string.

    FILE_GET
    --------
    This function is used to remotely download a file that is not in the file database. This function is normally reserved as a "sysop only" operation.
    The path and filename to be downloaded are contained in the current command string.

    FILE_SEND
    ---------
    Same as FILE_GET, but doesn't require system password.



    ---
    ■ Synchronet ■ WasteLand BBS ■ telnet://wasteland.darktech.org
  • From Beta@TALAMASC to Spiritwild on Sunday, January 30, 2000 10:48:00
    RE: Code for files
    BY: Spiritwild to Digital Man on Sun Jan 30 2000 03:58 pm

    Hey Rob, What's the best code to add to a baja mod to download a perticular file ? Lets say a menu that has "hit [D] to download this file"
    Thanks!

    FILE_SEND <Complete path to file and file name>
    From line 4263 of the BAJA.DOC file.

    Or for a file in the file database on the BBS
    FILE_DOWNLOAD
    Must read line 4127 of BAJA.DOC to figure this on out. :)
    Beta

    ---
    ■ Synchronet ■ telnet://talamasca-bbs.com http://www.talamasca-bbs.com
  • From Angus Netfoot@TALAMASC to Spiritwild on Sunday, January 30, 2000 11:56:00
    RE: Code for files
    BY: Spiritwild to Digital Man on Sun Jan 30 2000 03:58 pm

    Hey Rob, What's the best code to add to a baja mod to download a perticular file ? Lets say a menu that has "hit [D] to download this file"

    Just guessing, mind you, but might it be: FILE_DOWNLOAD ???


    SETSTR "*.BAT"
    FILE_DOWNLOAD

    should do it for all the BATch files....

    ---
    ■ Synchronet ■ telnet://talamasca-bbs.com http://www.talamasca-bbs.com