Batch Transfer
Batch Transfer is one of the sysop-configurable loadable modules: the module executed for the batch file transfer menu of the Terminal server, where a user reviews their batch upload and download queues and starts a batch transfer. The stock module is exec/batchxfer.js (Synchronet v3.21 and later).
Install
The stock module needs no installation: batchxfer is the default value of SCFG->System->Loadable Modules->Batch Transfer.
Being a loadable module, it is easily replaced by a module of the sysop's choosing:
- Set SCFG->System->Loadable Modules->Batch Transfer to the name (or command-line) of a different module, or
With a different module configured, the remainder of this page applies only so far as that module implements it.
Invoke
The module takes no arguments. The configured Batch Transfer module runs whenever the Baja FILE_BATCH_SECTION function or the JS bbs.batch_menu() method is invoked, e.g. by a command shell's Batch command in its file transfer section.
When both of the user's queues are empty and the system has no upload directory to batch-upload to, the module says so and returns immediately.
Use
| Key | Action |
|---|---|
L | List the upload queue and the download queue (optionally sorted by filename), with each download's cost, size and estimated transfer time, and the totals |
D | Start a batch download |
U | Start a batch upload (not for users with the U restriction) |
R | Remove a file from the upload queue and/or the download queue, by its number in the list or its filename |
C | Clear the upload queue and/or the download queue, after confirmation |
? | Display the menu |
| Enter, or the Quit key | Leave the menu |
The menu is left automatically once both queues are empty, unless there is an upload directory to batch-upload to.
Configure
The stock module has no modopts.ini options.
- The
batchxfrmenu file is displayed before each prompt, or only upon?for users in expert menu mode. - The prompt is the
BatchMenuPrompttext string, and the lists and messages are text strings too (e.g.UploadQueueLstHdr,UploadQueueLstFmt,DownloadQueueLstHdr,DownloadQueueLstFmt,DownloadQueueTotals,ClearUploadQueueQ,ClearDownloadQueueQ), customized in thectrl/text.inifile. A blankClearUploadQueueQorClearDownloadQueueQstring clears that queue without asking.