Support

Akeeba Backup for Joomla!

#23885 FTP (plain) works but FTP-S doens't

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by snellen on Friday, 11 December 2015 05:51 CST

snellen
EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue:

Hi there

I have several Joomla! Pages on different Hosts.
I can do a Backup with Post-Processing Option "FTP" when selecting "plain" FTP. But when I select FTP over SSL (which I tried in WinSCP and FileZila and was working), post-processing didn't complete.

Do you have any suggestions?
Is it possible, to get more logs/information to debug?

Regards
Sebastian

nicholas
Akeeba Staff
Manager
There are two entirely different things which are both called FTPS: FTP over Implicit SSL and FTP over Explicit SSL.

FTP over Implicit SSL is supported just fine by PHP and, by extension, Akeeba Backup. It means that the FTPS port you're using on your server is different than the plain FTP port and it expects a TLS connection.

FTP over Explicit SSL is properly called FTPES –there's an extra E in there– but it's usually truncated to FTPS by many interfaces, including FileZilla and WinSCP, to the massive confusion of people like you. The difference in this method is that the plain FTP and the encrypted FTPES connections take place on the same port. The client has to connect to the server, negotiate a mutually acceptable encryption method with it and then proceed to establishing an FTPS connection. This method is not supported by PHP, therefore we cannot support it in Akeeba Backup.

For more information please check https://en.wikipedia.org/wiki/FTPS

In order to use FTPS with Akeeba Backup you need:
[*] A remote FTP server which supports FTP over Implicit SSL (FTPS)
[*] Enter the FTPS port in Akeeba Backup (instead of leaving it empty or using the unencrypted FTP port 21)
[*] Your web server, where Akeeba Backup is running, must have an up-to-date version of OpenSSL and PHP must be compiled against it, otherwise no crypto features such as FTPS will be available.
[*] Your web server, where Akeeba Backup is running, and the remote FTPS server must agree on the encryption method to be used.

Unfortunately PHP does not give us any way to figure out if any of these conditions is not met. In all cases it returns the same error message as providing the wrong connection information :(

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

snellen
Thank you for your reply.

I misread your documentation and read "you need FTP over TLS (the explicit one)" - that's why I opened this ticket.

You can close it for now.

Thanks & have a nice day
Sebastian

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!