CAM Posted March 29, 2011 Report Posted March 29, 2011 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: public $ftp_host = 'ftp://ftp.*******.net'; public $ftp_port = '21'; public $ftp_user = ''; public $ftp_pass = ''; public $ftp_root = '/hdocs/'; public $ftp_enable = '1'; Is this correct?
riffleman Posted March 29, 2011 Report Posted March 29, 2011 Not sure, but shouldn't the FTP root be 'htdocs'?
CAM Posted March 29, 2011 Author Report Posted March 29, 2011 I didn't know if it was safe to post it or not so I changed the folder name in the post.
riffleman Posted March 29, 2011 Report Posted March 29, 2011 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!
EduTech Posted March 30, 2011 Report Posted March 30, 2011 It's Late, But It's not something daft like permissions on the folder is it? J
CAM Posted March 30, 2011 Author Report Posted March 30, 2011 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.
CAM Posted March 30, 2011 Author Report Posted March 30, 2011 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!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now