In some situations, creating separate FTP accounts can be very useful. For example:
- Collaborative projects where multiple people need access to specific files.
- Web applications that require FTP access to upload or modify files.
You can configure each FTP account to access only a specific folder, ensuring that users can change or upload files only within that folder.
⚠️ Important: While creating FTP accounts is straightforward, these accounts are not intended as a way to provide third parties with a full hosting environment. They should only be used for controlled access to specific files or folders.
Create a FTP account
1. Log in to DirectAdmin.
2. In the menu, go to 'Account Manager' → 'FTP Management'.
3. Click on 'Create FTP account' at the top of the page.
4. Fill out the form with the required information, such as:
- Username: Choose a unique name for the FTP account.
- Password: Set a strong password to secure the account.
- Folder/Directory: Specify which folder this account should have access to.
- Domain: The account will have access to all folders that you have permission to access.
- FTP: The account will only have access to the
public_ftpfolder. - User: The account will only have access to the
public_htmlfolder. - Custom: You can choose a specific folder for the account to access.
It is helpful to know the location of the /public_html/ folder. Replace username with your DirectAdmin username and example.com with your own domain:
/home/username/domains/example.com/public_html
5. Once you have configured all settings according to your preferences, click 'Create' to finalise and create the FTP account.
Editing an FTP account
You can update the settings of an FTP account, such as the password or the account's starting folder, by following the steps below. Please note: The username of an FTP account cannot be changed.
1. Log in to DirectAdmin.
2. In the menu, go to 'Account Manager' → 'FTP Management'.
3. Select the FTP account you want to edit by clicking on its name.
4. Update the account settings just like you did when creating the account. Once you have made the desired changes, click 'Submit' to save the updates.
Deleting an FTP account
It is also possible to delete a FTP account. This is useful when you want to deny the FTP user from accessing the hosting package. You can follow the steps below to do so.
1. Log in to DirectAdmin.
2. In the menu, go to 'Account Manager' → 'FTP Management'.
3. Select the FTP account you wish to delete, then click the 'Delete' button located on the right-hand side.