ftp_list.php, ftp_upload.php: change --ftp-ssl to --ftp-ssl-reqd (SECURITY)

Version 1.57.2


Updated the two scripts at: /usr/local/directadmin/scripts/ftp_list.php /usr/local/directadmin/scripts/ftp_upload.php to replace: --ftp-ssl to be: --ftp-ssl-reqd Reported case where the remote server didn't support TLS, thus the ftps backups were working through non-ftps connection. This change will let the client know that FTPS is not actually working on the remote box, instead of silently succeeding with ftp. The ftp_download.php script uses curl through php scripting, vs the other 2 which use command line curl with #!/bin/sh. The ftp_download.php correctly failed when FTPS was selected, and how the issue was discovered.

Interested to try DirectAdmin? Get a 30-day Free Trial!