FTP Custom Problem

Wildfires

Verified User
Joined
Feb 21, 2013
Messages
5
Hi all,

Running across a problem with creating a custom FTP account.

I'm creating the FTP account using the custom setting and trying to set it as:
/home/admin/domains/mydomain.co.nz/public_html/store/suppliers

But, I keep getting the message:
"That is not a valid path. Either it is not in your home directory, it doesn't exist, it contains symbolic links, or it contains invalid characters"

I do see how this is, this is the path I follow when I login as a root user, and the folders exist as they are on the web.

Can someone tell me whats going wrong and how to get this setup to allow FTP access to that public html folder.

Thanks in advance
 
Hello,

You might need to specify:

/usr/home/admin/domains/mydomain.co.nz/public_html/store/suppliers

if /home/ is a symlink to /usr/home/
 
Hello,

You might need to specify:

/usr/home/admin/domains/mydomain.co.nz/public_html/store/suppliers

if /home/ is a symlink to /usr/home/

Just tried that, no luck.

The system accepts "home/admin/domains/mydomain.co.nz/public_html/"
but anything after that, I get the error message.

I'm thinking the public_html must be a symlink. Any ideas on how to get around this? Surely it must be possible to FTP directly into a public html folder
 
It shouldn't be a symlink; only the one at your login level should be a symlink.

You can log in as root or use the file manager to see if for some reason it is.

Jeff
 
It shouldn't be a symlink; only the one at your login level should be a symlink.

You can log in as root or use the file manager to see if for some reason it is.

Jeff

Hi Jeff,

No it isnt actually a symlink. private_html is the only one there.

Any ideas then how to allow a folder within public html to be a accessible with FTP?
 
Hi Jeff,

No it isnt actually a symlink. private_html is the only one there.
Now you've confused me. Is private_html a symlink or a directory?

Is there no public_html diretory there?
Any ideas then how to allow a folder within public html to be a accessible with FTP?
As long as the path and the directory all have the correct permissions and ownerships you shouldn't have a problem using ftp to create/put/get anything into the directory (presuming you're logged in as the correct user). None of the rest of us are reporting any problems.

Perhaps you need an experienced administrator to look at your server?

Jeff
 
Problem solved.

Turns out for some reason all the folder permissions had been changed to root, instead of the correct user. Strange, don't know how that occurred, but working now.

Thanks for your help
 
Back
Top