• exec/load/tickit/file_handler.js

    From echicken@VERT to CVS commit on Fri Jul 26 01:43:59 2019
    exec/load/tickit file_handler.js NONE 1.1
    Update of /cvsroot/sbbs/exec/load/tickit
    In directory cvs:/tmp/cvs-serv19219

    Added Files:
    file_handler.js
    Log Message:
    Copy files from inbound archives to arbitrary locations.
    Basically nodelist_handler.js, but less specialized.
    Usage example in comments; should wikify that.
    These are all "file handlers", but I canvassed a total of
    three Synchronet sysops and they all shrugged and said
    something like:
    <DigitalMan> file_handler seems fine



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Fri Jul 26 12:36:00 2019
    exec/load/tickit file_handler.js 1.1 1.2
    Update of /cvsroot/sbbs/exec/load/tickit
    In directory cvs:/tmp/cvs-serv6498

    Modified Files:
    file_handler.js
    Log Message:
    Added support for global and per-file "cmd" properties in HandlerArg.
    The global one is executed after all files have been processed.
    A per-file command is executed after that file has been copied (if it
    was copied successfully).
    Command line specifiers are supported in both cases. In the global
    command, %f is the TIC file path, and %s is the extraction dir. In
    a per-file command, %f is the destination file, and %s is the source.
    This will remain untested until I receive some files to process.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net