-
rswindell authored
MinFileSize and MaxFileSize keys in the [ftp] section of the ctrl/sbbs.ini file these values default to 0 which effectively applies no min/max to uploaded files. Set MinFileSize to 11 to defeat the recent penetration testing seen uploading 10 byte files with random filenames (8 alpha cars ending in ".txt") with 8 alpha chars in the file, followed by a CRLF pair for a total size of 10 bytes. Fixed bug whereby failed/aborted uploaded files would be left (not deleted). Log errors when any file deletion fails in the FTP server.
2bbc8f50