Giving FTP access to external party

thehazzard

New member
Joined
Dec 1, 2022
Messages
6
Hi all,

I need your help guys

I have an webshop and it needs to be updated. So I want to hire a company to do that.

But he needs FTP access. I want him to only have access to the public html. And not the folder before that (public FTP)

What would be the path. For giving access i only have 4 options.
Root
User
FTP
Custom (this would be the option, but each time it gives error message when adding public html path
 
You should use domain if the account is created as user instead of root?

choose :

Domain

FTP account with the root directory in the domains home directory (one up from the public_html)
 
Web designers normally don't need access to FTP directory above the public_html. So I would choose for custom, like you already stated.

As for path, in Evo skin the /home/user is already filled in.
Then add /domains/yourdomain.com/public_html and then wait about 2 minutes and test the account.

If you are on Enhanced skin, use the full path yourself, so:
/home/user/domains/yourdomain.com/public_html

If you still get an error trying this, what error do you get? And what skin and DA version are you on?
 
Hello,

here are the error messages
test1.JPG


test2.JPG


what do i wrong
 
if your username is giuseppe, then in the last field in your screenshot .. the custom path ..
Custom: /home/giuseppe/domains/yourdomain.xy/public_html/
 
Hello all,

i tried many things, also now what you suggested with the new created user instead of the /user/ but i get this error message now. Not a issue with the path.


my domain has an - in it, is this an common issue with DirectAdmin?


ftpissue.JPG
 
Without knowing your actual settings its not possible to give advise. Please make screenshot from actual settings.
 
Hello,

so i have followed your path.
ocssupport.JPG


what is wrong with this.

And when i check the main page for creating users. i saw this. not knowing this.
ocssupport2.JPG

But its basiclly my root username of my hostingwhat is crossed with the red line.
 
If you have your site under /home/hostingwhat/, directadmin won't allow an user to create a FTP account outside /home/hostingwhat/. You can create an additional FTP account and point it to any existing folder inside /home/hostingwhat/. Otherwise it's a security flaw.
 
For me the problem is.

The test account. I did not create. So ite strange.

But 3 red lines are my own personal account what I use to login. That is the login what I received from my host

I entered the hole path want you see there the same one. But above the new account it's working.

But I am worried he can see my own account.

W ould that be a breach
 
If you create it like in the first screenshot, he can't go below the public_html so he can't see anything which is at /home/accountname/ and if all is well he won't even see your accountname in the FTP.
So nothing to worry about, unless you don't trust him with your website itself, which is in the public_html ofcourse.
 
Back
Top