How to create FTP accounts in DirectAdmin and connect with FileZilla

An FTP account lets you upload, download and manage your website files with an FTP client, without sharing your control panel password. In DirectAdmin you can create several FTP accounts per domain and restrict each one to a specific directory, for example to give a developer access to a single folder only.

Before you start

  • FTP accounts are managed at the DirectAdmin User Level. If you log in as an administrator or reseller, first switch to the User Level of the account that owns the domain.
  • Every DirectAdmin user already has a main FTP account with the same username and password as the control panel. That account cannot be deleted and has access to the whole /home/username directory. For third parties, always create an additional account with limited access.
  • The menu names in this article are those of the Evolution skin in English. If your panel uses another language, you will see the same options translated.

FTP account types

When you create the account, you choose the directory it can access. That directory becomes its root: the FTP user cannot see anything outside it.

Type  Root directory Recommended use
Domain   /home/username/domains/yourdomain.com Full access to the domain: public_html, private_html and the other domain folders.
FTP    /home/username/domains/yourdomain.com/public_ftp Exchanging files that must not be published on the website.
User    /home/username/domains/yourdomain.com/public_html/NAME Access to a single folder inside public_html with the same name as the account. DirectAdmin creates the folder if it does not exist. If a subdomain with that name exists, the account can access it too.
Custom                    The path you specify, inside /home/username Access to any other specific folder in your account.

When giving access to a third party, choose the most restrictive type that still lets them do their job (usually User or Custom).

How to create an FTP account

  1. Log in to DirectAdmin at https://yourdomain.com:2222 (or at the panel address your provider gave you).
  2. Go to Account Manager → FTP Management.
  3. Click Create FTP Account. If you manage several domains, make sure you are working on the right domain.
  4. Enter the username without the @yourdomain.com part; DirectAdmin appends it automatically when needed.
  5. Enter a strong password and confirm it.
  6. Choose the account type (Domain, FTP, User or Custom). If you choose Custom, enter the directory path.
  7. Click Create. The account appears in the FTP Management list together with its directory.

Which username to use when connecting

The login username depends on the domain's IP address:

  • Shared IP (the usual case on shared hosting): the username includes the domain, for example developer@yourdomain.com.
  • Dedicated IP: the short name is enough, for example developer. Additional domains in the same account use the developer@otherdomain.com format.

The FTP Management list shows the exact login name of each account. Copy it from there if in doubt.

How to modify or delete an FTP account

  • Change the password or account type: in FTP Management, click the account name, change the details and save.
  • Delete an account: select the checkbox next to the account and click Delete. DirectAdmin only removes the account's directory if it is empty, so any files it contains are kept.
  • Reset the password without logging in to the panel: the FTP user can open https://yourdomain.com:2222/CMD_CHANGE_FTP_PASSWORD and enter their full login in user@yourdomain.com format (even on a dedicated IP), the current password and the new one. This page does not work for the main FTP account, and the server administrator can disable it.

How to connect with FileZilla

You can use any FTP client. This example uses FileZilla Client, which is free and runs on Windows, macOS and Linux.

  1. Open FileZilla and go to File → Site Manager. Click New site and give it a name.
  2. On the General tab, fill in the details:
    Field Value
    Protocol FTP - File Transfer Protocol
    Host ftp.yourdomain.com or the server name your provider gave you
    Port Leave it empty (port 21 is used)
    Encryption Require explicit FTP over TLS
    Logon Type Normal
    User The login name, for example developer@yourdomain.com
    Password The FTP account password
  3. Optional: if the account type is Domain, on the Advanced tab you can set Default remote directory to /public_html to go straight to the website folder.
  4. Click Connect. The first time, FileZilla shows the server's TLS certificate. Check that it belongs to your server and accept it.
  5. To upload files, drag them from the local pane (left) to the remote pane (right). To download them, drag them the other way or right-click and choose Download.

For a quick connection without saving the site, use the Quickconnect bar and enter the host with the ftpes:// prefix (for example, ftpes://ftp.yourdomain.com) to use FTP over explicit TLS.

Troubleshooting

  • Login failed (530): check that you are using the full name with @yourdomain.com if the domain is on a shared IP. If the problem persists, reset the password from FTP Management.
  • TLS or certificate error: if your server does not have TLS enabled for FTP, a connection with Require explicit FTP over TLS fails. Contact support before switching to unencrypted FTP: without TLS, the username, password and files travel in plain text.
  • You connect but the directory listing does not load: FTP transfers data in passive mode, over a second connection to a high port on the server (usually between 35000 and 35999 on DirectAdmin). Check that your network firewall does not block those outgoing connections.

Security best practices

  • Create one FTP account per person or service and delete it when it is no longer needed.
  • Give each account access only to the directory it needs and use long, unique passwords.
  • Always use FTP over TLS (FTPS). If your account has SSH access, you can also use SFTP.
  • Do not enable anonymous uploads in Anonymous FTP settings: anyone could upload files to your server.

Need help?

Open a ticket at soporte.telecu.cloud and reference: DirectAdmin FTP.

Sources

Tags
Missing Spam/Junk and standard folders after cPanel to DirectAdmin migration
How to edit A, CNAME, MX, and DNSSEC records in DirectAdmin (DNS Management)