Joomla FTP Layer
I have a new install of Joomla on a website and I am trying to sort out the upload using the new FTP layer but it always comes up that the file cannot be moved. I have the following in my config:
Is this correct?
public $ftp_host = 'ftp://ftp.*******.net';
public $ftp_port = '21';
public $ftp_user = '';
public $ftp_pass = '';
public $ftp_root = '/hdocs/';
public $ftp_enable = '1';
Not sure, but shouldn't the FTP root be 'htdocs'?
I didn't know if it was safe to post it or not so I changed the folder name in the post.
I'd say that as it's fairly common, there'd be no issue in posting that. Other than that seems fine to me. But it's late and my brain may not be as good as it should!
It's Late, But It's not something daft like permissions on the folder is it?
All folders are 755 and files 644. Upload doesn't work well on shared hosting, hence why Joomla create the FTP Layer to use an FTP connection instead. :)
OK, seems Joomla recommend entering the FTP login each time instead of saving it in configuration.php but FTP Layer will only work with saved credentials!