Configuring FTP Settings in Joomla 3.1

One of the server settings available in Joomla 3.0 is the FTP Settings group. While most users do not need to enable this feature, if your server does require you to use FTP within Joomla, you’ll need to enter your FTP credentials into Joomla. Joomla 3.0 gives the following description regarding FTP:

Enable FTP:
Enable the built in FTP (File Transfer Protocol) functionality which is needed in some server environments to be used instead of the normal upload functionality of Joomla!

To configure FTP settings within Joomla 3.0:

  1. Log into your Joomla 3.0 administrative dashboard
  2. In the left menu, click the Global Configuration link
  3. In the list of tabs towards the top of the page, click the tab labeled Server
  4. Find the FTP Settings section, and enter the following details:
    Enable FTP Decide whether or not to enable FTP within Joomla 3.0
    FTP Host Enter your FTP hostname. The default value is 127.0.0.1 (you may need to use localhost)
    FTP Port The default ftp port is 21, most users will not need to change this setting
    FTP Username Enter your ftp username
    FTP Password Enter the password for your FTP account
    FTP Root Enter the path to your Joomla 3.0 files

    When finished entering in your settings, click the Save button in the top left of the page.

    During our testing, when ftp is enabled and the settings saved, we actually received the following error:

    Catchable fatal error: Argument 1 passed to JClientFtp::__construct() must be an array, null given, called in
    /home/user/public_html/libraries/joomla/client/ftp.php on line 199 and defined in
    /home/user/public_html/libraries/joomla/client/ftp.php on line 139

    We submitted a bug report here.

     

Was this article helpful? Let us know!