Both sides previous revisionPrevious revisionNext revision | Previous revision |
server:ftp [2021/02/15 14:16] – [Options] Document new ALLOW_BOUNCE option digital man | server:ftp [2024/10/21 22:33] (current) – [sbbs.ini] Add NO_FTPS option digital man |
---|
| |
| |
===== sbbs.ini ===== | ===== Configure ===== |
| |
| The Synchronet FTP server can be configured via [[util:SCFG]]:Servers->FTP Server: |
| |
| <file> |
| ╔══════════════════════════════════════════════╗ |
| ║ FTP Server ║ |
| ╠══════════════════════════════════════════════╣ |
| ║ │Enabled Yes ║ |
| ║ │Log Level Informational ║ |
| ║ │Network Interfaces 0.0.0.0, :: ║ |
| ║ │Control Port 21, Data: 20 ║ |
| ║ │Passive Interface (IPv4) 0.0.0.0 ║ |
| ║ │Passive Port Range 1024 - 65535 ║ |
| ║ │Auto-generate Index File 00index ║ |
| ║ │QWK Message Packet Transfers Yes ║ |
| ║ │QWK Message Packet Timeout 10 minutes ║ |
| ║ │Max Clients 100 ║ |
| ║ │Max Inactivity 5 minutes ║ |
| ║ │Max Concurrent Connections Unlimited ║ |
| ║ │Sysop File System Access Yes ║ |
| ║ │Allow Bounce Transfers No ║ |
| ║ │Lookup Client Hostname Yes ║ |
| ║ │Failed Login Attempts... ║ |
| ╚══════════════════════════════════════════════╝ |
| </file> |
| |
| ... via [[monitor:SBBSCTRL]]:FTP->Configure: |
| |
| {{:server:sbbsctrl.320.ftp.config.png?|}} |
| |
| ... or via manual editing of the ''[FTP]'' section of the ''[[dir:ctrl]]/[[config:sbbs.ini]]'' file. |
| |
| ==== sbbs.ini ==== |
The ''[ftp]'' section of the ''[[dir:ctrl]]/[[config:sbbs.ini]]'' file supports the following configuration settings (''key = value'' lines): | The ''[ftp]'' section of the ''[[dir:ctrl]]/[[config:sbbs.ini]]'' file supports the following configuration settings (''key = value'' lines): |
| |
| Options | ''ALLOW_INDX_FILE | ALLOW_QWK'' | FTP server option flags (see below for details) | | | Options | ''ALLOW_INDX_FILE | ALLOW_QWK'' | FTP server option flags (see below for details) | |
| |
==== Options ==== | === Options === |
| |
The ''Options'' key of the ''[ftp]'' section of the ''[[dir:ctrl]]/[[config:sbbs.ini]]'' file supports the following option flags (separated by a ''|'' character): | The ''Options'' key of the ''[ftp]'' section of the ''[[dir:ctrl]]/[[config:sbbs.ini]]'' file supports the following option flags (separated by a ''|'' character): |
| ALLOW_BOUNCE | Allow authenticated non-guest/anonymous users to use FTP Bounce (FXP) functionality - not recommended | | | ALLOW_BOUNCE | Allow authenticated non-guest/anonymous users to use FTP Bounce (FXP) functionality - not recommended | |
| NO_LOCAL_FSYS | Disable local file system access (for sysops) | | | NO_LOCAL_FSYS | Disable local file system access (for sysops) | |
| DIR_FILES | Allow access to files that are not in filebases | | |
| KEEP_TEMP_FILES | Don't delete temporary files, for debug purposes | | | KEEP_TEMP_FILES | Don't delete temporary files, for debug purposes | |
| LOOKUP_PASV_IP | Resolve public IP address for PASV response | | | LOOKUP_PASV_IP | Resolve public IP address for PASV response | |
| | NO_FTPS | Disable AUTH TLS support - not recommended | |
| NO_HOST_LOOKUP | Do not resolve/log hostnames of incoming TCP connections | | | NO_HOST_LOOKUP | Do not resolve/log hostnames of incoming TCP connections | |
| NO_RECYCLE | Do not allow this server to be automatically recycled by external event | | | NO_RECYCLE | Do not allow this server to be automatically recycled by external event | |
Example Alias: | Example Alias: |
sbbs_for_dos.zip bbs://main/sbbs/sbbs230b.zip Current version for SBBS for DOS | sbbs_for_dos.zip bbs://main/sbbs/sbbs230b.zip Current version for SBBS for DOS |
| |
| ===== Display Files ===== |
| |
| The Synchronet FTP server can optionally send text files from your ''[[dir:text]]'' directory to the FTP client/user under certain conditions: |
| |
| ^ Filename ^ Description ^ |
| | ''ftplogin.txt'' | Sent before the username and password is requested | |
| | ''ftphello.txt'' | Sent upon successful login | |
| | ''ftpbadlogin.txt'' | Sent upon unsuccessful login attempt | |
| | ''ftpbye.txt'' | Sent upon logoff (before server acknowledgment of the ''QUIT'' command) | |
| |
===== Supported Commands ===== | ===== Supported Commands ===== |