Search the CLDY knowledge base

Updated on November 26, 2022

How to Upload Source Codes & Files via FTP?

Using your FTP Account via an FTP Client is a convenient way to upload and manage files, directories, and queue simultaneous file handling jobs at once. With the use of the SFTP Configuration file, FTP use is now made more secure. 

 

It is a more efficient way to handle and manage files compared to using the File Manager from your browser. What is more is that you can upload larger file sizes.

 

Here’s how you set up your FTP Client:

 

I. Set Up Your FTP Client

1. Log in to your CLDY cPanel.

    • Usually, the cPanel Web Address can be navigated to through your domain, in this format:
      • https://yourdomain.com/cpanel

 

2. Scroll down to the “FILES” section.

3. Go into the “FTP Accounts” menu.

4. Scroll down to the “Special FTP Accounts” to use the pre-populated Admin FTP Accounts:

Or Create a new FTP Account.

 

To Create a New FTP Account, here are the steps:

    • Fill in the required fields:

  1. Choose your Log In.
  2. Choose the Domain where that FTP Account should be associated if you are hosting multiple domains in your Web Hosting Account.
  3. Generate a “Very Strong” password. Keep a copy in a safe place locally, or use LastPass as your secure password manager.
  4. Specify the Directory where the files transferred via your FTP Account should land. Use your File Manager to create a directory address for you, if you need to.
  5. Specify “Unlimited” for your “Quota,” if you don’t want to encounter issues with file uploads.
  6. If you are creating an FTP Account for another user in your organization and you want to constrain their uploads for any reason, specify their quota in the field.
  7. Use the newly-created FTP Account for the next steps.

 

II. Configure Your FTP Client

1. Click “Configure FTP Client.”

2. Download the SFTP Configuration File to your Mac or PC.

    • Always choose the SFTP Configuration File, as this uses more secure protocols than the FTP Configuration File.

3. Download the appropriate software suggested.

4. Open the “Instructions” page.

5. Follow the instructions specified by the cPanel. For your ease, here’s a copy of the Core FTP and Cyberduck instructions from the cPanel Docs:

Core FTP Instructions:

Cyberduck Instructions:

6. After configuring your FTP Client for use with your FTP Account, you’re now good to go with uploads and file management via FTP!

    • Take note that some of the WordPress White Screen of Death solutions can be solved using file management through FTP, so it’s really useful to keep an FTP Client configured with your CLDY Web Hosting Account.

 

III. Upload Your Files, Directories & Source Codes Using Your FTP Client

 

After configuring your FTP Client, you can now upload your files, directories, and source codes using your FTP Client. 

 

  1. Go to File > Connect.
  2. Your connection details will already populate because of the FTP Configuration File you imported.
  3. Hit “Connect.”
  4. Go crazy uploading whatever you need to!

 

Alternatively, you can use this process: 

 

  1. Go to Sites > Site Manager.
  2. If you’re handling multiple websites and accounts, choose the site you need to use.
  3. As in the previous process, your connection details will already populate because of the FTP Configuration File you imported.
  4. Hit “Connect.”
  5. And yes, don’t forget to go crazy uploading whatever you need to!

 

In the event that you encounter an error that says “Can’t establish connection –> ftp.yourdomain.com:21,” locate the field “Host / IP / URL,” then replace “ftp.yourdomain.com” with the IP address of your hosting plan, which you can find on the right side of your cPanel, under the field “Shared IP Address.” 

Tip: When you’re done managing your files using your FTP Client, Disconnect before you exit the FTP Client. It’s usually under File > Disconnect, or through the Sites > Site Manager dialogue.

 

There you have it, you can now upload large files, upload multiple files and directories all at once, and upload source codes with less of the restrictions of the File Manager, thanks to FTP!

Still can't find what you're looking for?