Correct the wiki pages where they differ from the code (missing keys, defaults, commands, packages, menu keys and metric names), complete the Home page index, and fix Simplified Technical English problems. Correct the sixel default for ssh listeners in bbs.conf.sample and regenerate Configuration-Reference.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRSvurgAXJHmd8Fs4ud
3.0 KiB
Callers can use FTP. They can also move files over their own connection to the BBS. This page gives the transfer protocols for text callers, and IND$FILE for 3270 callers.
Text callers
Text callers (telnet, modem, rlogin) use this procedure:
- To download a file, open the details of the file and push D.
- To upload a file, push U in an area.
- Select a protocol:
| Key | Protocol | Notes |
|---|---|---|
| X | XMODEM | CRC, or checksum if the terminal program asks for it. 128-byte blocks |
| 1 | XMODEM-1K | 1K blocks |
| Y | YMODEM | batch: names and exact sizes |
| Z | ZMODEM | batch, CRC-32, error recovery. Most terminal programs start it automatically |
| K | Kermit | for 7-bit lines, and for all other cases where the other protocols fail |
XMODEM does not send a file name. Thus, the BBS asks for a name. The BBS
removes the path from names that a terminal program sends
(C:\DOS\GAME.ZIP becomes GAME.ZIP). It also removes the characters
that the file areas do not accept. An upload goes through the same
checks, size limit and daily allowance as an FTP upload. The BBS keeps the
upload only if it is complete.
ZMODEM resume
If a ZMODEM upload stops before its end, the BBS keeps the part that came for 7 days. When the same user sends the same file (the same name and size) to the same area again, the BBS continues from the end of that part. The BBS also continues a download from the position that the terminal program asks for (crash recovery).
ZMODEM with zstd
The D-Modem GUI and the D-Modem app can compress ZMODEM transfers with zstd. The BBS does this automatically when the program of the caller can do it. Other terminal programs get normal ZMODEM. Text files usually become much smaller. The BBS does not compress files that are already compressed (for example, ZIP, ARJ, LZH, JPEG and MP3 files).
To disable zstd, set zmodem_zstd = no in [general]. The specification
is docs/zmodem-zstd.md in the D-Modem repository.
XMODEM, YMODEM and ZMODEM must have an 8-bit clean line: a modem, rlogin, or telnet in binary mode. The BBS asks for binary mode. If a client does not accept binary mode, the BBS shows a warning to the caller.
3270 callers
3270 callers use the file transfer of their emulator, IND$FILE. Use this procedure:
- Go to a file area (
Fon the main menu, thenSadjacent to an area). - Put the cursor on the command line.
- Start a transfer. Use send to upload into the area, or receive to download one of its files. Use the name of the file as the host file name.
The emulator types IND$FILE PUT name or IND$FILE GET name. The BBS
does the work of the host in DFT mode (structured fields), as the
IND$FILE of TSO does.
Binary mode keeps a file exactly as it is. ASCII with CR/LF stores text with CR LF line ends, and gives it back in the format that the PC expects. Both the TSO and VM/CMS host types operate. The emulator must support DFT. x3270, c3270, wc3270 and PCOMM support it. Your terminal shows reply 95, Distributed Data Management.
See also: Files and FTP, TN3270