Subj : src/sbbs3/js_bbs.cpp qwk.cpp sbbs.h To : Git commit to main/sbbs/master From : Rob Swindell (on Debian Linux) Date : Mon Sep 28 2026 18:50:42 https://gitlab.synchro.net/main/sbbs/-/commit/e4dd926ae9fb5d9b6ec85c19 Modified Files: src/sbbs3/js_bbs.cpp qwk.cpp sbbs.h Log Message: Add bbs.qwk_download(), bbs.qwk_upload(), bbs.get_archive_formats() Move the QWK menu's Download and Upload commands into sbbs_t member functions exposed to JavaScript, and the settings screen's archive-type list into user_archive_formats(), in preparation for making the QWK menu a loadable JavaScript module (#1242). qwk_download() snapshots the message scan pointers before packing and restores them on every outcome except a successful transfer, and deletes the packet after every attempt. This fixes two bugs: - When the estimated transfer time exceeded the user's time left, the menu exited with the pointers already advanced by packing, so the packed messages were never offered again. - After a failed or aborted transfer, the packet was left in the temp directory and resent by the next Download without repacking, so the pointers were not advanced and the same messages were downloaded again next session. Co-Authored-By: Claude Opus 5.5 --- SBBSecho 3.37-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .