Are you trying to fix JFTP Bad response error in Joomla?
This guide is for you.
Java File Transfer Protocol (JFTP) is an FTP class that allows us to connect to and interact with an FTP server.
JFTP is a true Universal FTP Client as we can install it and run it on various platforms like Windows, Linux, Mac OS X, Soliris, etc.
A 'Bad Response' error often occurs while trying to install new extensions in Joomla.
Here at Ibmi Media, as part of our Server Management Services, we regularly help our Customers to handle Joomla related issues.
What triggers JFTP Bad response error in Joomla ?
Some users may end up with “Bad Response” error while trying to install new extensions in their Joomla.
Generally, the errors include the following ones:
-JFTP::mkdir: Bad response
-JFTP::chmod: Bad response
-JFTP::store: Bad response
When FTP of Joomla does not work properly it ends up with the 'bad response' error.
Hence it the main cause for this issue in Joomla.
How to fix JFTP Bad response error in Joomla ?
To begin, we can try to change the chmod permission to 777 (755 the default chmod) of our configuration.php file and also the corresponding directory recursively.
We can do this by editing the configuration.php file.
This can be done simply by searching for the FTP settings within this file and input the FTP login details in the following fields:
public $ftp_host = '';
public $ftp_port = ’21’;
public $ftp_user = ”;
public $ftp_pass = ”;
public $ftp_root = ”;
public $ftp_enable = ‘1’;
If the errors still persist after this step, we can try disabling FTP in the same configuration.php file
Here we will remove the following line:
var $ftp_enable = ‘1’;
And add the following line:
var $ftp_enable = ‘0’;
Changing the value 1 to 0 will disable FTP.
Also, we can disable FTP from the global configuration option-> server in Joomla itself.
[Need assistance with fixing Joomla errors? We can help you. ]