Transfer files via FTP clients (FileZilla, WinSCP).: Difference between revisions

From LHYcloud Docs
Jump to navigation Jump to search
(Created page with "'''What Is an FTP Account?''' FTP user accounts have direct access to your website’s files. They can upload, download, delete, and change permissions on most files in the directories they have access to. Most FTP programs, such as FileZilla, WinSCP, Transmit, or Cyberduck (funny name, great tool), are desktop programs. You install them on your computer and connect...")
 
No edit summary
Line 16: Line 16:


Log in to cPanel, and in the “FILES” section, click the “FTP Accounts” link or icon.
Log in to cPanel, and in the “FILES” section, click the “FTP Accounts” link or icon.
[[File:Ftp1.png|center|thumb|602x602px]]


Enter the FTP username for the account in the “Log In” field.
Enter the FTP username for the account in the “Log In” field.
Line 22: Line 24:


''Note that the system will analyze your password or passphrase and reject it with a password strength error if it is too short or not sufficiently complex.''
''Note that the system will analyze your password or passphrase and reject it with a password strength error if it is too short or not sufficiently complex.''
[[File:Ftp2.png|center|thumb|602x602px]]


'''2. Specify Which Directories the FTP User Can Access'''
'''2. Specify Which Directories the FTP User Can Access'''
Line 28: Line 32:


The user you are creating will not have access to any directories above what you set in the “Directory” field. So we have to change the default entry here if we want the new user to have access to the ggexample.com (root) directory.
The user you are creating will not have access to any directories above what you set in the “Directory” field. So we have to change the default entry here if we want the new user to have access to the ggexample.com (root) directory.
[[File:Ftp3.png|center|thumb|602x602px]]


If, on the other hand, you intend to create a user that has restricted access to only a specific directory, replace /ftpuser in the “Directory” path with the name of the directory you wish to allow the user to access.
If, on the other hand, you intend to create a user that has restricted access to only a specific directory, replace /ftpuser in the “Directory” path with the name of the directory you wish to allow the user to access.


''The subdirectory does not have to exist. cPanel will create it for you when the FTP user is created.''
''The subdirectory does not have to exist. cPanel will create it for you when the FTP user is created.''
[[File:Ftp4.png|center|thumb|602x602px]]


'''3. Set a Quota for the FTP User and Create the Account'''
'''3. Set a Quota for the FTP User and Create the Account'''
Line 38: Line 45:


Click the “Create FTP Account” button.
Click the “Create FTP Account” button.
[[File:Ftp5.png|center|thumb|602x602px]]


When the user is created, you will see an “Account Created” success notice.
When the user is created, you will see an “Account Created” success notice.
[[File:Ftp6.png|center|thumb|602x602px]]


'''4. How to Log In to an FTP Account'''
'''4. How to Log In to an FTP Account'''


Once the FTP account is set up, scroll down to the “FTP Accounts” section of the page and click the “Configure FTP Client” link.
Once the FTP account is set up, scroll down to the “FTP Accounts” section of the page and click the “Configure FTP Client” link.
[[File:Ftp7.png|center|thumb|602x602px]]


The manual FTP settings and downloadable configuration files for popular FTP programs will be shown.
The manual FTP settings and downloadable configuration files for popular FTP programs will be shown.
[[File:Ftp8.png|center|thumb|602x602px]]


Click the “FTP Configuration” button to download a configuration file. Then you can import the configuration into your FTP program.
Click the “FTP Configuration” button to download a configuration file. Then you can import the configuration into your FTP program.
Line 60: Line 71:


Log in to cPanel, and in the “FILES” section, click the “FTP Accounts” link or icon.
Log in to cPanel, and in the “FILES” section, click the “FTP Accounts” link or icon.
[[File:Ftp9.png|center|thumb|602x602px]]


Scroll down to the “FTP Accounts” section.
Scroll down to the “FTP Accounts” section.
Line 66: Line 78:


Enter the new password and click the “Change Password” button.
Enter the new password and click the “Change Password” button.
[[File:Ftp10.png|center|thumb|602x602px]]


'''How to Delete an FTP Account in cPanel'''
'''How to Delete an FTP Account in cPanel'''
Line 74: Line 88:


Click the “Delete” link or icon to the right of the account you want to remove.
Click the “Delete” link or icon to the right of the account you want to remove.
[[File:Ftp11.png|center|thumb|602x602px]]


You’ll have the option to “Delete the User’s Home Directory.” In most cases, you '''do not''' want to check that box.
You’ll have the option to “Delete the User’s Home Directory.” In most cases, you '''do not''' want to check that box.

Revision as of 15:10, 30 August 2025

What Is an FTP Account?

FTP user accounts have direct access to your website’s files. They can upload, download, delete, and change permissions on most files in the directories they have access to.

Most FTP programs, such as FileZilla, WinSCP, Transmit, or Cyberduck (funny name, great tool), are desktop programs. You install them on your computer and connect directly to the website.

One of the benefits of using FTP is you can create FTP users that have restricted access. That allows you to give someone access to only directories that you specify. Perfect for granting access to one part of a site, but not others.

How Do I Set Up an FTP Account?

All you need is your cPanel login and a username and password for the FTP account.

Let’s go through the steps one by one.

1. Create a New FTP User Account in cPanel

Log in to cPanel, and in the “FILES” section, click the “FTP Accounts” link or icon.

Ftp1.png

Enter the FTP username for the account in the “Log In” field.

Enter the FTP password in both the “Password” and “Password (again)” fields.

Note that the system will analyze your password or passphrase and reject it with a password strength error if it is too short or not sufficiently complex.

Ftp2.png

2. Specify Which Directories the FTP User Can Access

The “Directory” field is automatically populated with public_html/domain.tld/ftpuser (ftpuser is the username that you entered in the “Log in” field and domain.tld is the cPanel account domain).

The user you are creating will not have access to any directories above what you set in the “Directory” field. So we have to change the default entry here if we want the new user to have access to the ggexample.com (root) directory.

Ftp3.png

If, on the other hand, you intend to create a user that has restricted access to only a specific directory, replace /ftpuser in the “Directory” path with the name of the directory you wish to allow the user to access.

The subdirectory does not have to exist. cPanel will create it for you when the FTP user is created.

Ftp4.png

3. Set a Quota for the FTP User and Create the Account

Setting a quota for the user will prevent them from uploading files once the quota is reached. To avoid that problem, leave the “Quota” set to “Unlimited.”

Click the “Create FTP Account” button.

Ftp5.png

When the user is created, you will see an “Account Created” success notice.

Ftp6.png

4. How to Log In to an FTP Account

Once the FTP account is set up, scroll down to the “FTP Accounts” section of the page and click the “Configure FTP Client” link.

Ftp7.png

The manual FTP settings and downloadable configuration files for popular FTP programs will be shown.

Ftp8.png

Click the “FTP Configuration” button to download a configuration file. Then you can import the configuration into your FTP program.

If your preferred FTP program is shown in the list, click the “Instructions (new window)” link. That will open a step by step guide for importing the configuration file.

If your preferred FTP program is not shown in the list, check the program documentation for configuration file import details.

To manually set up your FTP program, use the “Manual Settings” located above the configuration file download section.

What to Do if You Forget Your FTP User Account Password

There’s no way to view the password for an FTP account. But if you forget the password, you can reset it in cPanel.

Log in to cPanel, and in the “FILES” section, click the “FTP Accounts” link or icon.

Ftp9.png

Scroll down to the “FTP Accounts” section.

Click the “Change Password” link or icon to the right of the account you want to remove.

Enter the new password and click the “Change Password” button.

Ftp10.png

How to Delete an FTP Account in cPanel

Log in to cPanel, and in the “FILES” section, click the “FTP Accounts” link or icon.

Scroll down to the “FTP Accounts” section.

Click the “Delete” link or icon to the right of the account you want to remove.

Ftp11.png

You’ll have the option to “Delete the User’s Home Directory.” In most cases, you do not want to check that box.

Click the “Delete” button to delete the FTP user account.

Why Use FTP Rather Than a Web-Based File Manager?

In addition to the ability to set up user restrictions, and adapt to the flow, FTP is often faster.

With web-based file transfer, you have to log in, click around, then select files to upload from another window. It’s a lot of clicking to move a file.

With FTP, you just pop open a desktop program, upload your files, and you’re done. And your entire website directory structure is easy to navigate, both locally and on the server.

If you’ve never tried using FTP to manage your website, there’s no time like the present!

Do you have use for multiple FTP users to manage your website? Have you ever set up restricted FTP users to provide access to only specific parts of your site?