Using FTP and SFTP
Overview
FTP stands for File Transfer Protocol. This is one of the most common ways to upload and download files from your server.
FTP allows you to access files on your server similarly to how you would navigate through the files on your local computer. While these tips may vary based on the particular FTP program that you use, in most cases, you can do the following:
- Double-click on a folder to enter it.
- Double-click on the special ".." folder to go back one level.
- Double-click on a file to download it.
- Drag-and-drop or double-click on files on your local computer to upload them to the server.
-
Right-click on files and folders to receive more options, such as:
- Copy files.
- Move files.
- Rename files.
- Change file permissions.
- Delete files.
SFTP is similar to FTP. SFTP stands for Secure File Transfer Protocol and is the encrypted version of FTP. SFTP is more secure and tends to be more reliable than FTP, so it is the recommended option where possible.
-
To use SFTP, your FTP program may include one of the following:
- Choose SFTP from a menu.
- Designate Port 22 in the Port field.
- Enter your server URL as sftp://example.com. Please replace example.com with your own domain name.
- You must have SSH enabled for your Server Administrator on your (gs) Grid-Service. For more information, please see this article.
- You must also have SSH access enabled for your FTP user in Plesk. Please see this article for instructions.
End of Life Warning
This service has a pending End of Life. Please move to a current service as soon as possible. For more information, please see: (dv) Dedicated-Virtual 4.0: Migration Information.
What you need for a (gs) Grid-Service
What you need for a (dv) Dedicated-Virtual Server
First, you need to set up your domain in Plesk. This process will prompt you to create an FTP username and password for the domain. See this article for instructions:
You will need an FTP client. There is a list of common FTP clients at the end of this article. If you don't have a favorite FTP client already, we recommend FileZilla. It is free, simple, and works with both Mac OS X and Windows.
You'll need to download, and then run, your chosen FTP client.
Once you have your FTP client open, you'll need to fill in a few settings so that it knows how to connect to your (mt) Media Temple server.
1. Hostname or server name.
- For the (gs) Grid-Service, we recommend using your access domain: s00000.gridserver.com
- 12.34.56.78 or example.com - your IP address or a domain that resolves to the server.
2. Username.
(gs) Grid-Service: example.com - your primary domain Your username you entered when you added your domain in Plesk.
3. Password.
- Your password.
4. Directory path - this may or may not be required, check your FTP client documentation.
- domains/example.com/html/
- httpdocs/
5. Port number - this may already be set by default.
- 21 (FTP) or 22 (SFTP)
6. Passive mode - this may already be set by default.
7. Connection limits - this may already be set by default.
- 8 or fewer maximum simultaneous connections
Settings in detail
Hostname or server name
This setting should be a domain name that resolves to your server. Your access domain is recommended, especially for SFTP. However, any domain name that resolves to your server will also work. Be sure to replace the 00000 with your own site number. You can find your access domain in the Server Guide.
This setting should be an IP address or domain name that resolves to your server. You can find your IP address(es) in the Server Guide.
- Examples: s00000.gridserver.com, example.com
- Examples: example.com
Username
Your username is the primary domain for your service. This is the domain name you picked when you purchased your (gs) Grid-Service. You can find your FTP username in the Server Guide.
- Example: example.com
- Your username you entered when you added your domain in Plesk.
Password
This is your Server Administrator password. You can set your password in the AccountCenter.
- Sign in to the AccountCenter and click on your primary domain.
-
Click on Server Administrator.

-
Click change password.

-
Type in your new password, and type it again in the confirmation box.
Make sure that your new password has at least eight characters and a mixture of upper- and lower-case letters, and numbers. Do not use dictionary words. See Strong Password Guidelines for further assistance.
- Click save.
-
While you are here, you can enable SFTP (and SSH) by selecting the Enabled radio button.

For your (dv) Dedicated-Virtual Server 4.0, you will be able to reset your FTP password in Plesk. For security reasons, you will not be able to view the password.
TIP:
If the screenshots you see here don't match your version of Plesk, please see the (dv) Dedicated-Virtual Server 3.5 section.
These screenshots are for the (dv) Dedicated-Virtual Server 4.0 and Plesk 11. If you are on a (dv) 4.0 and are running Plesk 10.x, please see this article for upgrade information: How do I upgrade Plesk?
- Log into the Plesk Control Panel for your domain. See Figure 1:
-
From the Home page, click on Websites & Domains. See Figure 2:

Figure 2: Click on the "Websites & Domains" tab. -
Next, click on FTP Access. See Figure 3.

Figure 3: Click on the "FTP Access" icon to view your current FTP users. -
To add a new user, click on Create Additional FTP Account. See Figure 4:

Figure 4: Click "Create Additional FTP Account." -
Enter a username, custom home directory, and password. Then click OK.
- FTP account name: This is the FTP username.
- Home directory: Click on the folder to navigate to the desired directory, or leave it with just / to grant access to all domains in that subscription.
- Password: This will be your FTP password. Please choose a strong password.
-
You're done setting up your new user! Your FTP username and password will now work with your favourite FTP client.
To edit the details for an existing user, click on the user's name to edit.
Your username and password are set in Plesk.
- Log into Plesk.
-
Click on the Domains tab. See Figure 1:

Figure 1. The Domains tab in Plesk. -
Click on Setup. See Figure 2:

Figure 2. The Plesk Setup tool. -
Scroll down to the Account preferences section. Here you'll see the option to edit your FTP Login (username) and your FTP password. Enter your new password twice. If you want to enable SFTP, you can also choose /bin/bash (chrooted) from the dropdown menu. See Figure 3:

Figure 3. Enter your desired username and password. You can also enable SSH/SFTP access. - Click OK at the bottom.
That's it! You've now updated your FTP username and password. The new login credentials should work immediately.
Make sure that your new password has at least eight characters and a mixture of upper- and lower-case letters, and numbers. Do not use dictionary words. See Strong Password Guidelines for further assistance.
Directory path
Many FTP applications will ask you for a directory path or folder location. Typically, this will be used to display the appropriate folder on the server when you make a connection from your FTP client. Some FTP clients upload all your content automatically to the designated folder.
Two common option directory path options are to show a list of all your domains, or to show the web content directory (document root) for a specific domain. You should replace example.com with your own domain name, and 00000 with your actual site number.
- List all domains: domains/ or /home/00000/domains/
- Specific domain web document root: domains/example.com/html/ or /home/00000/domains/example.com/html/
TIP:
The reason there are two options is that different FTP clients may interpret your folder structure differently. The first example in each pair has a local path to your folder, and the second has a full path from the root level of the server.
It is possible to use any path on your server, or to leave it blank if you want to go to the home directory for your user. The home directory for your specific user will be as follows:
- serveradmin user, FTP: /home/00000/ (This is the same directory that you see when you click on the File Manager tool in the AccountCenter.
- serveradmin user, SFTP: /home/00000/users/.home/ (This folder has a link to the domains directory, but for other folders you may have to go up two levels first. Double-click the ".." folder to do this.)
- Other FTP users will have a home directory as chosen by you. See (gs):Add an FTP user for details.
Port number
We strongly suggest using SFTP, which transfers data over Port 22. Plain FTP uses Port 21.
- SFTP: 22
- FTP: 21
Passive mode
By default, the (gs) Grid-Service allows FTP connections in passive mode only. Active mode will not work.
By default, the (dv) Dedicated-Virtual Server allows FTP connections in passive mode only. Active mode will not work.
Most FTP clients use passive mode by default, but some require you to set it manually. Specifically, FileZilla requires you to manually set the passive type for the connection.
Connection limits
The (gs) Grid-Service will allow a maximum of 8 FTP or SFTP connections at once per IP Address.
The (dv) Dedicated-Virtual Server allows an unlimited number of connections by default. However, it's generally a good idea to limit your FTP client to 1-5 simultaneous connections.
If you want to configure a server-side limit, see (dv):FTP connection limits.
Some FTP programs will automatically open multiple connections when navigating through directories, uploading multiple files, etc. In that case, you will need to adjust your FTP client settings to limit the number of simultaneous connections.
If you have multiple people working on the server from the same office, you may also reach the connection limit that way.
How to use FTP
- Open your favorite FTP client.
- Fill in your FTP connection settings (described above). You may be able to create a profile for this site so that you don't have to enter your settings each time.
- Connect to the server. You should now see files and folders on the server, and files and folders on your local computer.
- Navigate to the correct folder. Typically, you will want to upload content to your html directory, because this is the directory whose content is displayed online for your website. Double-click on domains, then the folder with the same name as your domain, then html.
- Navigate to the correct folder. Typically, you will want to upload content to your httpdocs directory, because this is the directory whose content is displayed online for your website. Double-click on the httpdocs directory to enter it.
- Upload files from your local computer to the server. Typically, you can drag-and-drop files from your computer (your desktop, for example) into the FTP client window that's showing your server folders. You should also be able to find your files from within the FTP client, then double-click on them to upload them to the server.
- You may need to wait a little while if you have a large upload. You should be able to navigate into different directories while an upload is proceeding. In fact, this can be a good thing to do if you notice the connection timing out during a lengthy upload.
- That's it! When you're done uploading and downloading files, you can close the connection. If you uploaded new content to your website, you should now be able to see it when you visit the site.
Alternate methods
- You can create additional FTP users with custom access levels. See Creating additional FTP/SFTP users for instructions.
- Plesk does not support multiple FTP users per domain. For an unsupported workaround, see (dv):Add an FTP and SSH user.
- While this is not recommended for uploading website files (you will run into permission problems), you can access higher-level folders on the server with the root user. Your username is root, the password is your root password, and you must use SFTP rather than FTP. See this article.
-
Browser FTP is neither supported nor recommended. Account Contacts can use the File Manager to work with server files from their browser.
TIP:
This is not guaranteed to work, but if you want to attempt browser FTP, you should use the following syntax in most browsers:
ftp://user%25example.com:password@s00000.gridserver.com
- ftp:// - This lets the browser know that you want to make an FTP connection.
- user - This is the first part of the username. For the main serveradmin user, you can skip this part.
- %25 - This is a URL code for the @ symbol. Again, for the main serveradmin user, you can skip this part.
- example.com - This is the second part of the username, which should be one of your domain names on the server. For the serveradmin user, this will be your primary domain.
- @ - The @ symbol separates the username from the server domain name
- s00000.gridserver.com - This is your access domain that resolves to the server.
-
Browser FTP is not supported or recommended. Plesk provides a fairly advanced File Manager tool under each domain, which can be accessed from your browser.
TIP:
This is not guaranteed to work, but if you want to attempt browser FTP, you should use the following syntax in most browsers:
ftp://user:password@example.com
- ftp:// - This lets the browser know that you want to make an FTP connection.
- user - This is the username.
- @ - The @ symbol separates the username from the server domain name.
- example.com - This is a domain name that resolves to the server.
- For security reasons, the (gs) Grid-Service does not support anonymous FTP. If you require anonymous FTP, you will have to migrate to a (dv) Dedicated-Virtual Server or a (ve) Server for this feature.
- Anonymous FTP is not recommended, but is possible for domains on an exclusive IP address. You can find instructions for it here: (dv):Anonymous FTP.
Troubleshooting
- There is no size limit for what you can upload via FTP or SFTP. However, with large uploads, it is possible that the connection could be dropped somewhere between you and the server. For this reason, it's good to use an FTP client with a "resume" feature, so you don't have to start over again with your upload. SFTP is more reliable than FTP for uploading large files.
-
On the (gs) Grid-Service, the FTP connection times out automatically after 10 minutes of inactivity. If you were in the middle of an upload, you have a few options. You can:
- Connect again and resume.
- Choose an FTP client that manually sends a "Keep Alive" signal to the server every few minutes.
- Manually interact with the server every few minutes (by clicking on a folder, etc.).
- Your FTP connection will time out automatically after a few minutes of inactivity. You can change this value by following the instructions here: How do I change the FTP session timeout on a (dv) server?
-
Some kinds of files are hidden by default. The
.htaccessfile is the most common type of file to experience this, because it's a system-level file that begins with a period. Most FTP clients have a setting that allows you to view hidden files and folders. You may need to restart the client after setting this. - You cannot upload files to the top folder level for your domain. Enter the httpdocs, httpdsdocs, or cgi-bin folder, and you will be able to use FTP normally. If you need to affect higher-level folders, you will need to use a root or sudo user. See this article to enable root access.
- If your FTP timestamps are from the wrong time zone, you may need to correct the FTP time zone setting manually. See this article.
- You may notice that you can't log in with a particular FTP user, even after changing the password in Plesk. One possible cause for this is addressed in this Parallels article.
- If you need to restart the FTP service, see this article. The FTP service is called xinetd.
- When you connect with SFTP, you may receive an error message like "host key has changed." This means that a change with your domain has recently occurred, so the "known hosts" file that your computer keeps is now incorrect. To reset the file, see SSH known hosts warning.
Third-Party Applications
Here's a list of FTP applications that have been known to work with (mt) Media Temple servers. Click on the first link for a walkthrough specific to (mt) Media Temple. Click the second link for the FTP client's home page.
NOTE:
Third-party applications are not supported nor guaranteed to work with your specific configuration. For help with any specific FTP software, please consult its distributor.
Apple iWeb (Mac)
- Publishing Apple iWeb sites
- Read the official documentation at apple.com.
Coda (Mac)
- Using Coda for FTP/SFTP
- Read the official documentation at panic.com.
Cyberduck (Mac)
- Using Cyberduck for FTP/SFTP
- Read the official documentation at cyberduck.ch.
Dreamweaver (Mac, Windows)
- Using Dreamweaver for FTP/SFTP
- Read the official documentation at adobe.com.
Fetch (Mac)
- Using Fetch for FTP/SFTP
- Read the official documentation at fetchsoftworks.com.
FlashFXP (Windows)
- Using FlashFXP for FTP/SFTP
- Read the official documentation at flashfxp.com.
Flow (Mac)
- Using Flow for FTP/SFTP
- Read the official documentation at extendmac.com.
FileZilla* (Mac, Windows, Linux)
- Using Filezilla for FTP/SFTP
- Read the official documentation at filezilla-project.org.
Transmit* (Mac)
- Using Transmit for FTP/SFTP
- Read the official documentation at panic.com.
Windows Explorer (Windows)
- Setting up FTP via Windows Explorer
- Read the official documentation at microsoft.com.
