• web/root/upload.ssjs

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Sun Apr 23 19:50:25 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/d1073a218ed3703140d0b81f
    Added Files:
    web/root/upload.ssjs
    Log Message:
    A basic HTTP-post handler for uploading files to the filebaseBased on qwk.ssjsI
    tested this using:wget --auth-no-challenge --post-file=file.ext --http-user=username --http-password=passwd vert.synchro.net/upload.ssjs?filename=file.ext\?desc=description-textThis currently requires an "uploads" directory to be configured by the sysop.I'm not
    sure if there's a better/more-standard way for the posted filename orcontent to
    be included in the request. This is just a sort of proof-of-conceptas a solution for issue #554. Perhaps an ecbwebv4 page displays a prompt to theuser for their filename and it redirects to this page. Not sure how that'llwork.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)