https://gitlab.synchro.net/main/sbbs/-/issues/799#note_5772
Here's an FTPS failure log with the DEBUG_DATA option enabled:
```
2024-10-22T13:36:21.908099-07:00 git sbbs: ftp 0109 Session thread started 2024-10-22T13:36:21.908152-07:00 git sbbs: ftp 0109 [47.156.x.y] Connection accepted on 71.95.196.36 port 21 from port 55500
2024-10-22T13:36:21.919538-07:00 git sbbs: ftp 0109 TX: 220-Vertrauen (cvs.synchro.net)
2024-10-22T13:36:21.919568-07:00 git sbbs: ftp 0109 TX: Synchronet FTP Server 3.20a-Linux Ready
2024-10-22T13:36:21.919584-07:00 git sbbs: ftp 0109 TX: Anonymous/Guest logins allowed.
2024-10-22T13:36:21.919594-07:00 git sbbs: ftp 0109 TX: Telnet to vert.synchro.net to create a full-access account.
2024-10-22T13:36:21.919604-07:00 git sbbs: ftp 0109 TX: Synchronet files are mirrored on ftp.synchro.net (faster).
2024-10-22T13:36:21.919614-07:00 git sbbs: ftp 0109 TX: 220 Please enter your user name.
2024-10-22T13:36:22.096103-07:00 git sbbs: ftp 0109 <47.156.x.y> RX: AUTH TLS 2024-10-22T13:36:22.096149-07:00 git sbbs: ftp 0109 TX: 234 Ready to start TLS 2024-10-22T13:36:22.202291-07:00 git sbbs: ftp 0109 [47.156.x.y] initialized TLS successfully
2024-10-22T13:36:22.267639-07:00 git sbbs: ftp 0109 <47.156.x.y> RXS: USER Reolink
2024-10-22T13:36:22.267743-07:00 git sbbs: ftp 0109 TXS: 331 User name okay, need password.
2024-10-22T13:36:22.384959-07:00 git sbbs: ftp 0109 <47.156.x.y> RXS: PASS xxxx
2024-10-22T13:36:22.385019-07:00 git sbbs: ftp 0109 [47.156.x.y] <reolink> logged-in (20509 today, 21250 total)
2024-10-22T13:36:22.385034-07:00 git sbbs: ftp 0109 TXS: 230-Welcome! 2024-10-22T13:36:22.385049-07:00 git sbbs: ftp 0109 TXS: --- 2024-10-22T13:36:22.385059-07:00 git sbbs: ftp 0109 TXS: Synchronet files are located in /Synchronet
2024-10-22T13:36:22.385074-07:00 git sbbs: ftp 0109 TXS: Synchronet files are mirrored on ftp.synchro.net (faster).
2024-10-22T13:36:22.385086-07:00 git sbbs: ftp 0109 TXS: --- 2024-10-22T13:36:22.385094-07:00 git sbbs: ftp 0109 TXS: Uploads are not allowed in most directories.
2024-10-22T13:36:22.385104-07:00 git sbbs: ftp 0109 TXS: Upload to /incoming if you're unsure where a file should go.
2024-10-22T13:36:22.385113-07:00 git sbbs: ftp 0109 TXS: --- 2024-10-22T13:36:22.385124-07:00 git sbbs: ftp 0109 TXS: If you have any problems, please e-mail the details to rob [at] synchro [dot] net.
2024-10-22T13:36:22.385135-07:00 git sbbs: ftp 0109 TXS: 230-reolink logged in.
2024-10-22T13:36:22.385147-07:00 git sbbs: ftp 0109 TXS: 230-You have 23000148415 download credits.
2024-10-22T13:36:22.385160-07:00 git sbbs: ftp 0109 TXS: 230 You are allowed 240 minutes of use for this session.
2024-10-22T13:36:22.725411-07:00 git sbbs: ftp 0109 <reolink> RXS: CWD Main 2024-10-22T13:36:22.725457-07:00 git sbbs: ftp 0109 TXS: 250 CWD command successful.
2024-10-22T13:36:22.845530-07:00 git sbbs: ftp 0109 <reolink> RXS: CWD xxxx 2024-10-22T13:36:22.845577-07:00 git sbbs: ftp 0109 TXS: 250 CWD command successful.
2024-10-22T13:36:22.966489-07:00 git sbbs: ftp 0109 <reolink> RXS: TYPE I 2024-10-22T13:36:22.966593-07:00 git sbbs: ftp 0109 TXS: 200 All files sent in BINARY mode.
2024-10-22T13:36:23.087386-07:00 git sbbs: ftp 0109 <reolink> RXS: MODE S 2024-10-22T13:36:23.087476-07:00 git sbbs: ftp 0109 TXS: 200 STREAM mode. 2024-10-22T13:36:23.190998-07:00 git sbbs: ftp 0109 <reolink> RXS: PBSZ 0 2024-10-22T13:36:23.191048-07:00 git sbbs: ftp 0109 TXS: 200 OK 2024-10-22T13:36:23.295843-07:00 git sbbs: ftp 0109 <reolink> RXS: PROT P 2024-10-22T13:36:23.295942-07:00 git sbbs: ftp 0109 TXS: 200 Accepted 2024-10-22T13:36:23.405911-07:00 git sbbs: ftp 0109 <reolink> RXS: PASV 2024-10-22T13:36:23.407593-07:00 git sbbs: ftp 0109 <reolink> PASV DATA socket 106 opened
2024-10-22T13:36:23.407705-07:00 git sbbs: ftp 0109 <reolink> PASV DATA trying to bind socket to port 1024
2024-10-22T13:36:23.407747-07:00 git sbbs: ftp 0109 <reolink> PASV DATA trying to bind socket to port 1025
2024-10-22T13:36:23.407782-07:00 git sbbs: ftp 0109 <reolink> PASV DATA trying to bind socket to port 1026
2024-10-22T13:36:23.407818-07:00 git sbbs: ftp 0109 <reolink> PASV DATA trying to bind socket to port 1027
2024-10-22T13:36:23.407850-07:00 git sbbs: ftp 0109 <reolink> PASV DATA trying to bind socket to port 1028
2024-10-22T13:36:23.407880-07:00 git sbbs: ftp 0109 <reolink> PASV DATA socket 106 bound to port 1028
2024-10-22T13:36:23.407912-07:00 git sbbs: ftp 0109 <reolink> PASV DATA IP address in response: 71.95.196.36 (subject to NAT)
2024-10-22T13:36:23.407945-07:00 git sbbs: ftp 0109 TXS: 227 Entering Passive Mode (71,95,196,36,4,4)
2024-10-22T13:36:23.526852-07:00 git sbbs: ftp 0109 <reolink> RXS: STOR NVR_04_20241022133621.jpg
2024-10-22T13:36:23.527112-07:00 git sbbs: ftp 0109 <reolink> uploading: NVR_04_20241022133621.jpg to /Main/xxxx/ (/xfer/xxxx/) in passive mode
2024-10-22T13:36:23.527201-07:00 git sbbs: ftp 0109 TXS: 150 Opening BINARY mode data connection for file transfer.
2024-10-22T13:36:23.527241-07:00 git sbbs: ftp 0109 <reolink> PASV DATA socket 106 listening on 47.156.x.y port 1028
2024-10-22T13:36:23.527278-07:00 git sbbs: ftp 0109 <reolink> PASV DATA socket 112 connected to 47.156.x.y port 48220
2024-10-22T13:36:23.567258-07:00 git sbbs: ftp Created TLS private key and certificate 15821
2024-10-22T13:36:23.632791-07:00 git sbbs: ftp 0109 <reolink> DATA socket 112 receiving /xfer/xxxx/NVR_04_20241022133621.jpg from offset 0
2024-10-22T13:36:23.632859-07:00 git sbbs: ftp 0109 <reolink> DATA Limiting uploaded file size to 2147483648 (2.0G) bytes
2024-10-22T13:36:24.676495-07:00 git sbbs: ftp 0112 TLS dbg 'Operation complete/can't continue' (-24) popping data
2024-10-22T13:36:24.676606-07:00 git sbbs: ftp 0109 <reolink> DATA socket 112 closed by client
2024-10-22T13:36:24.676642-07:00 git sbbs: ftp 0109 <reolink> DATA Transfer successful: 622165 bytes received in 1 seconds (622165 cps)
2024-10-22T13:36:24.676987-07:00 git sbbs: ftp 0109 <reolink> DATA Extracting DIZ from: /xfer/xxxx/NVR_04_20241022133621.jpg
2024-10-22T13:36:24.677619-07:00 git sbbs: ftp 0109 <reolink> DATA DIZ does not exist in: /xfer/xxxx/NVR_04_20241022133621.jpg
2024-10-22T13:36:24.691583-07:00 git sbbs: ftp 0109 <reolink> DATA uploaded file: NVR_04_20241022133621.jpg
2024-10-22T13:36:24.695783-07:00 git sbbs: ftp 0109 TX: 226 Upload complete (622165 cps).
2024-10-22T13:36:24.714846-07:00 git sbbs: ftp 0109 TLS info 'Received TLS alert message: Protocol version' (-20) popping data
2024-10-22T13:36:24.714890-07:00 git sbbs: ftp 0109 !ERROR: recv on socket returned unexpected value: -20 (line 525)
2024-10-22T13:36:24.715316-07:00 git sbbs: ftp 0109 <reolink> logged-out 2024-10-22T13:36:24.715423-07:00 git sbbs: ftp 0109 [47.156.x.y] Session thread terminated (0 clients and 1 threads remain, 4 served)
```
--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)