Hello Christian!
On 08 Aug 2023, Christian Sacks said the following...
I looked at the default sexyz config which uses @%3 which I thought
might be required instead, but adding the @%3 instead just errors immediately with the filename not being found according to the client.
I believe @ is SEXYZ syntax for reading a file containing a list of the files to be sent (
http://wiki.synchro.net/util:sexyz).
%3 in Mystic will be the full path to such a file when the protocol is flagged as Batch: Yes in the Protocol Editor. That's probably why you got a "file.lst" on the receiving end. With Batch: No, %3 will instead be the full path to the (single) file to be sent.
As gkermit doesn't appear to support reading such a file list when sending files -- and Mystic doesn't appear to allow for specifying a "base directory" when batch-receiving files using external protocols (and automatically "finding" all files there after the batch transfer has completed) -- your best bet would be to select Batch: No and hence allow Kermit for transfers of single files only.
This then makes it impossible to "tag" files in the file listings (as soon as you do, it will consider this a batch even if the batch only contains one file), not displaying/offering Kermit (non-batch) as an available file transfer protocol when choosing to (D)ownload files from the files menu. Instead you have to (D)ownload from the file menu and (remember and specify) the filename manually.
Anyway, you might want to try this:
█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Protocol Editor: Kermit ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█ █
█ Active │ Yes █
▄▄ █ OS │ Linux █▓gj! ▐█▄▄█ Batch │ No ██▄▄
░████ Hot Key │ K ███▒■ ▀ ▓███ Description │ Kermit ███▌▐ ▓ ▒▓▓█ Send Command │ gkermit -i -P -q -X -s "%3" █▓░▓ ▀ █░░█ Recv Command │ gkermit -i -P -q -X -r -a "%3" ██░▓ ░░▓███ █▄▄█ ▄▄■ ▀▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█▌░░
Please let me know if this works (for single files).
(It might actually be possible to create a separate protocol for Kermit batch downloads only, with some bash trickery that will enumerate the files, but I haven't looked into this yet...)
Best regards
Björn
--- Mystic BBS v1.12 A49 2023/04/30 (Linux/64)
* Origin: Star Collision BBS, Uppsala, Sweden (2:201/137)