What is FTP?
FTP (File Transfer Protocol) is a method used to transfer files between your computer and the web server. FTP is usually performed via a FTP Client, which connects to the FTP server and allows you to either upload or download files to/from the server.
What is an FTP account?
An FTP account is used to login to an FTP server and transfer files to and from the server. FTP accounts may have complete access to all the files on the server, or they can be restricted to a specific directory or directories.
FTP accounts can be created within cPanel.
What is anonymous FTP?
Anonymous FTP is a setting which allows users to login to your FTP server anonymously by not requiring any login credentials.
This feature may be useful to clients wanting to grant access to a set of files to a large number of people, consequently this can pose a severe security threat and it is strongly encouraged to leave this feature disabled.
Login to FTP via Windows Explorer
- Open any Windows Explorer window (My Pictures, My Documents, My Music, etc)
- Replace the text in the address bar with ftp.yourdomain.com.
- Press enter, and you will be prompted for credentials. Enter your FTP username and password, then proceed.
- After logging in, you will be able to copy files to and from the server by simply copying and pasting.
Note: yourdomain.com is the name of the domain you are trying to access.
Note: In some cases, a window will initially popup stating that the FTP session has timed out. These is merely a security precaution. To restart the FTP session, simply right-click anywhere on the white background in Windows Explorer and select “Login As”.
Which directory do my files go in?
By default, logging into FTP will open the root directory of your account. In order for files to be publicly accessible, you will need to place them in the public_html folder. The public_html folder is the directory opened when someone accesses your domain.
How to enable SFTP with Filezilla Server?
By default, Filezilla Server does not support FTP via SFTP. However if can use SSL / TLS, commonly referred to as FTPS . It’s also a breeze to enable this in the Filezilla FTP Server Configuration. To do this, you simply have to do the following:
- Access the Filezilla FTP server’s settings by going to Edit -> Settings.
- Once in the Settings section, you will need to scroll down to the SSL / TLS settings section.
- Here you will need to check the Enable FTP over SSL / TLS support (FTPS).
- Now you will need to click on the button Generate new certificate… Once you do this, you will also be presented with the following screen;
- Be sure to check check either 1024 bit, 2048 bit or 4096 bit. Since this is a self signed SSL, you can choose 4096 bit. Now you will need to fill out the rest of he required sections. Once you completed this, be sure to specify a valid location to save the key and certificate to. Once you have, click Generate certificate.
- Filezilla server will now be setup to only use FTPS/FTPSE and will reject any FTP connections over port 21. Your new port will be 990. If you try to use conventional ftp to access the server, you may receive the error that you have to use explicit SSL / TLS before logging in.
- You will now need to specify port 990 in order to log into the ftp server. Upon logging in, you will also need to accept the SSL for the server now. You will have the option as well to always trust the certificate for future sessions.
You have now secured Filezilla FTP server for use with only a FTPS connection. If at any time you wish to remove the SSL from the connection, simply log back into the FTP server and goto the SSL / TLS settings section and uncheck the Enable FTP over SSL / TLS support (FTPS) option.