• Add option download_msg_attachments to choose protocol

    From Nigel Reed@1:103/705 to GitLab issue in main/sbbs on Wed Oct 23 10:02:11 2024
    open https://gitlab.synchro.net/main/sbbs/-/issues/801

    I came across a situation where I wanted to save an attachment to the local bbs server, however because sbbs forces you to use the default protocol and not change it before doing the download, I can never accomplish that until I change the default protocol in User Settings to Email Download or don't select a default protocol at all.

    Adding an option to download_msg_attachments that the script writer can use to force the protocol to be selected would be useful to bypass the auto download and force the user to select the protocol anyway.

    This would be useful for, say Nightfox's DDMsgReader where users can save an attachment but may want to save to the bbs server.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Wed Oct 23 10:42:46 2024
    https://gitlab.synchro.net/main/sbbs/-/issues/801#note_5794

    This sounds like a feature request for Nightfox's DDMsgReader. Assuming he's using the bbs.sendfile() method, he controls whether or not a transfer protocol (e.g. the user's default download protocol) is automatically used or not.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Eric Oulashin@1:103/705 to GitLab note in main/sbbs on Wed Oct 23 10:48:16 2024
    https://gitlab.synchro.net/main/sbbs/-/issues/801#note_5795

    If you want to save attachments to the BBS server, I'm not sure this would help - My understanding is that download_msg_attachments() is for the user to download the attachments to the machine they're using.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Wed Oct 23 10:49:37 2024
    https://gitlab.synchro.net/main/sbbs/-/issues/801#note_5796

    I see now that DDMsgReader.js is using `bbs.download_msg_attachments()` which doesn't allow control of the protocol. I'll see about adding that.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Wed Oct 23 10:51:18 2024
    https://gitlab.synchro.net/main/sbbs/-/issues/801#note_5797

    There's a "local copy" transfer protocol that can be used for saving files to the local (BBS) system. I think that's what Nelgin's wanting to use in this case.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab issue in main/sbbs on Wed Oct 23 10:58:22 2024
    close https://gitlab.synchro.net/main/sbbs/-/issues/801
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Eric Oulashin@1:103/705 to GitLab note in main/sbbs on Wed Oct 23 11:53:34 2024
    https://gitlab.synchro.net/main/sbbs/-/issues/801#note_5799

    Ah yes, I forgot about that
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)