https://gitlab.synchro.net/main/sbbs/-/commit/5263fb71388bae387c2b82fa
Modified Files:
exec/load/shell_lib.js
Log Message:
upload_file() will now fall-back to blind/batch upload if no filename provided
If the user doesn't type a filename (just hits enter) and there are either files in the batch upload queue and/or there's an 'Uploads' directory configured by the sysop, then prompt if they want to start a batch
upload now and do that (using the new bbs.batch_upload() method).
This change requires the latest SBBS v3.20a changes committed in this same push.
Change made to accomodate users/sysops like Chris Mifsud from Facebook:
"For decades using other bbs software I always just pressed enter without entering a file name and it goes straight to the zmodem upload and then I select the file and hit upload no problem."
Since only the default ("Synchronet Classic") command shell currently uses
this library, this change only works when using that command shell. When we port other shells from Baja to JS (and this lib), they'll get this feature automatically.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net