This section covers creating FTP accounts, modifying/deleting FTP accounts, enabling anonymous access, and setting the welcome message for anonymous logins.
Creating FTP Accounts
To create FTP accounts, first click on the "FTP Menu" icon in the main control panel screen. You will see a list of current FTP accounts that looks something like this:
Default FTP Account
The default FTP account and control panel account have the same login name and password. You cannot delete the default FTP account but you can make its password different from your control panel password.
If you change your control panel password, the default FTP account password will still have the old control panel password. You must update the default FTP account in the FTP menu if you want both passwords to match.
Creating a New Account
Click the "Create FTP account" link. You will see a screen that looks like:
First, select a FTP username. In the above example, we chose "gary." Next, enter a password. Then, select the access level of the FTP account.
Domain: This FTP user has access to public_html, private_html, mail, domains, and backup directories.
FTP: This FTP user has access to the public_ftp directory only.
User: This FTP user has access to public_html/username/ only. If we selected this option in the above picture, the
FTP user would only have access to public_html/gary/ or http://www.site-helper.com/gary/. (If there is a
subdomain named gary.site-helper.com, this FTP user would also have access to it.
If the directory doesn't already exist, it will be created at this stage.
Finally, click the "Create" button.
After Your Click "Create"
After you click "Create," the control panel will show you the login information for the FTP account you just created. You may notice that your FTP username has @yourdomain.com after it. This is because your domain is using a shared IP address. If your web site has its own dedicated (static) IP address, your FTP username will not have @yourdomain.com after it.
If you have a dedicated IP address and you create additional domains on that account, these additional domains will have FTP logins of firstname.lastname@example.org.
Logging into an FTP Account
< Step 1: Obtain FTP client software.
< Uploading to the server through FTP requires special software. Most computer systems do not come with FTP clients, so you will have to download one from the Internet. We suggest:
< Step 2: Connect to the server.
< All FTP clients need the following information:
< Address - This is the address of the server. Use ftp.yourdomain.com
< Port - Use the default port (21).
< Some clients may ask for the host type (select "auto"), ASCII/Binary/Auto (select "auto), and the initial remote folder (you may leave this blank or change it to /domains/yourdomain.com/public_html to start off in the main web directory).
< Step 3: Change to the desired directory and upload your files.
< To upload, highlight the files/folders on your computer and drag them into the appropriate directory on the remote server. Each FTP client operates differently, so please consult its help file for complete instructions.
Modifying / Deleting FTP Accounts
At the main FTP menu is a list of all FTP accounts. Click the "change" link next to the account you wish to alter. You must enter a password twice, and this password can be your old password or a new one. You may also change the access level of the account (see above). To change the password for the main username (eg: sitehelp), it's linked with your main DirectAdmin login/password, so you only need to change your DirectAdmin password to change the ftp password for that 1 account.
To delete an account, place a checkbox next to the account you wish to delete and then click the "Delete Selected" button, as pictured here:
Note: The FTP directory itself will not be deleted unless it is empty.
Enabling Anonymous Access
To enable anonymous FTP access, click the "Anonymous FTP settings" link in the main FTP menu. You will be taken to a screen that looks like this:
To enable anonymous FTP, place a check next to "Allow Anonymous Access." If you want to give anonymous users the ability to upload, click the "Allow Anonymous Upload" link.
You may see "Error reading welcome.msg" in the "Welcome Message" textbox. This error occurs because no welcome message has been set yet. Please enter a new welcome message at this time.
Be sure to click "Save" after you are finished.
Allowing anonymous uploads is potentially dangerous, and many hosts will disable the entire anonymous FTP access feature for this reason.
Creating FTP Users for Subdomains
To restrict an FTP account to a single subdomain, follow these steps:
1. Create the subdomain if you haven't done so already.
2. From the main control panel menu, click the "FTP Menu" icon and then the "Create FTP account link."
3. In the "FTP Username" field, enter the subdomain name (without .yourdomain.com).
4. Enter a password in the password fields.
5. Select the "User" radio button.
6. Click the "Create" button.
Need more help?
Please contact your hosting company for more assistance, or visit the DirectAdmin support forum at http://forum.directadmin.com.