FTP accounts in your cPanel web hosting account

    The article was added by Polly R. at 09/28/2008.

  Submit | About | Contact & Privacy Policy

You are here: Articles Directory » Web Hosting

Bookmark and Share

It is most likely that one of the first things you will want to do after getting your web hosting account, and taking a quick look at cPanel's interface, is get some files onto your website. So how do you accomplish this? The most common method is via something called FTP. If you have ever downloaded anything on the Internet before, you have likely used FTP, perhaps without even realizing it.

FTP stands for File Transfer Protocol. It is a method of transferring files from remote locations to your local computer (called downloading) and vice versa (sending files from your computer to a remote location is called uploading). In this article we will cover most methods that cPanel provides to enable you to transfer files to and from your web hosting account, including:

• Discussing methods of uploading files to your hosting account

• Learning about the types of FTP clients available

• Learning how to work with FTP

• Accessing the main FTP account

• Creating FTP accounts and placing limits on those accounts

• Deleting FTP accounts

• Checking FTP quotas for accounts you create

• Managing Anonymous FTP access

• Monitoring FTP access and killing FTP sessions

• SFTP (Secure FTP)

• FXP (File Exchange Protocol)

• Navigating your site with the cPanel file manager

• Uploading files and downloading files, editing and managing files with the file manager

• WYSIWYG HTML editing via WYSIWYG Pro in the file manager

Before discussing FTP and other file transfer methods in cPanel, we need to learn a bit more about the various types of FTP tools that you can use.

FTP Basics

For those of you who may not be familiar with FTP, it is important to understand what FTP is, what it does, and what sorts of tools you need to use it.

General FTP Tools

There are many tools that can handle FTP in one form or another, but not all are created equal for our purposes. These can be broadly categorized as:

• Web Browsers: Although most web browsers can handle FTP, they generally only handle it in a single direction (remote files to local computer) and they cannot handle the reverse (local files to remote computer) or do not handle it well. It is not recommended that you use a web browser to handle FTP to or from your website.

• HTML/Website Editing Programs: If you use any sort of website editor that runs off of your computer (like Macromedia Dreamweaver, Adobe GoLive, Nvu, and so on), it most likely has the ability to upload, download, and synchronize files via FTP. The focus of these sorts of programs is to create web content and the ability to FTP files to your web hosting account is just a convenience. If you plan to only work on your website in one of these sorts of programs, then the FTP features should serve you well.

• Stand-alone FTP Clients: This category includes all programs that are designed primarily to work with FTP, though they may handle other types of transfers as well. It is recommended that you download and install one of these types of programs even if you have only one of the types of items mentioned above.

Configuring your FTP Client for use with your Main FTP Account

Once you've chosen a program to FTP files to your web hosting account, you should attempt to set it up and test uploading and downloading a file or two to make sure it is working properly. Every cPanel account comes with at least one FTP account, though depending on your hosting plan you may be able to create others. The main FTP account cannot be deleted. To connect to your website via FTP using this main account, you will typically need to provide the following information:

• FTP Host/Address: This typically is your domain name with ftp. added to it (ftp.domain.com). You can also use your web server's IP address if your domain name isn't working for some reason.

• FTP Username: For the main FTP account this is the same as your cPanel username (8 characters or less). • FTP Password: For the main FTP account this is the same as your cPanel password.

Normally, this is all the information you must enter to access your account via FTP, but some clients may ask for more:

• Port: A port is a channel of communication. FTP transfers normally use port 21, although your web host might set it to something else. Always try port 21 first before trying another port.

• Starting directory: Typically you won't need to specify this unless you want to start in a different location. This path is a list of directories separated by slashes / (for example public_html/forum will start you in the forum directory of your web hosting account, which is inside the public_html (web files) directory). Some FTP clients require the starting directory to end with a trailing slash / and some do not. Consult your FTP client program documentation to learn more.

On Linux servers, folders are called directories.

• Passive FTP: There are two primary kinds of FTP connections, active and passive FTP. Passive FTP is a method of sending and receiving FTP information that works well if you are behind a firewall. Generally, you should use passive FTP for all connections since active FTP may get filtered by your ISP or your home firewall. If you'd like more information about the difference between the two types of connections, please visit http://slacksite.com/other/ftp.html.

• Directory Synchronization: If you are using a web content editor to FTP files you may be asked to specify which directory on your local computer should match with your remote web directory. For example, you may want the contents of Documents/ website/mydomain/ on your computer to be what people see on your website, so you would set the remote directory to public_html. Please see the documentation for your web content editor for more information about this feature if you want to use it.

If you enter the connection information into your FTP client and you are able to upload a test file and download it successfully then you are ready to begin working on your website. If you receive an error message, please check to see that you entered your account information correctly. You may also want to consult the account information you were sent by your web hosting company. If you have a hardware or software firewall or router in the location where you are trying to connect, you should check its settings to make sure it can send and receive through port 21. If it still doesn't work, please contact your web host for assistance.

On most cPanel web servers, the FTP server has a maximum display limit of 2,000 files per directory. This means that if you have 2,500 files stored in a single directory on the web server you will only be able to see the first 2,000. This limit is designed to help keep the FTP server from crashing or overloading the entire server. It is recommended that you never have more than 2,000 files in any directory, because even if your web host has raised the maximum file limit, working with so many files will slow down your FTP transfers to and from that directory. If you must have more than 2,000 files in a single directory, please contact your web host and see if they are willing to raise that limit.

Web Hosting Disclaimer

  • The ArticleCity.info articles directory team is not responsible for falsehoods, inaccuracies, or any other types of misinformation this article may contain and will not be liable for any damage or loss suffered by a user through the user's reliance on the information gained here.
  • ArticleCity.info articles directory is not responsible for any and all copyright infringements by writers and authors. If you suspect the information contained by this page for any copyright infringements, please contact us and we'll investigate the specific article(s) and we will remove the copyrighted material.
Other Web Hosting articles
Understanding how networks work on a basic level - The Basics of Networks Understanding how networks work on a basic level is fairly simple but can quickly become complicated. This is especially true if you are unfamiliar how the technology within different networks functions. From a mecha...
There are many roles that a server can occupy - There are many roles that a server can occupy. For each one there is a unifying similarity: they have to be on a network and have other computers connect to them. In addition to that, these connecting computers have to request something that the s...
Customer Service Leading the Way in Technology - Just the mere mention of the word “internet” can sometimes be very intimidating to people. It's been known to give off the impression that it's to highly technical and confusing for any of us to understand. Unless we've had years of experience, or...
Web hosting requirements at a hosting company - What are the Company's Hosting Policies? Amid all of the marketing material on your potential host's website there is usually some fine print (or worse yet, some things aren't even mentioned publicly) concerning the rules they impose ...
cPanel web hosting account explained - Getting Started with cPanel Now that you have a shiny new cPanel web hosting account, it is time to learn the ropes of cPanel's interface. However, b...
cPanel Interface and general hosting account information - The Main cPanel Interface If you have successfully logged into your account, you should be presented with the main cPanel interface, shown below: ...
cPanel and its general server information explained - General Server Information This is followed by information about the server your account is on: Operating System: This is the operating system that the server your account is on is running. Probably this will be Linux. ...
Creating and Managing FTP Accounts under cPanel - Creating and Managing FTP Accounts in cPanel Depending on your hosting plan, you may not be limited to just a single main FTP account. Why would you need more than one? You probably don't if you are the only person wh...
cPanel File manager and File permissions - cPanel's File Manager FTP is not the only way to manage files and directories in your hosting account. cPanel includes a File Manager that will allow you to do almost anything you can via FTP (and a number of things t...
Managing MySQL or PostgreSQL databases in cpanel - Working with Databases in cPanel Clicking on the MySQL or PostgreSQL icons on the main cPanel screen will allow you to create or work with those types of databases. The ...