Using FTP using command line in linux machines

 

With the use of FTP (File Transfer Protocol) program, one can easily connect to a remote server or computer system to create files and folders or transfer, modify or rename files in your Dedicated Server.

Note: Every Cpanel contains a FTP (File Transfer Protocol) option that you can to accomplish simple maintenance task or to rename your files. Having a FTP program is a best option of you want to transfer heavy files or multiple files.

Connect FTP using FileZilla

FileZilla - One of the best, widely used and free FTP option available for both client and server. You need to download filezilla on your system and it is available for free of cost.

Once you download and install FTP client like filezilla on your system, configure it to connect to your web server. In order to connect FTP client to your server, you need the below mentioned information:

  • FTP UserName - The Username of your hosting account
  • FTP Password -  The password of your hosting account.
 

Note: Based on the server configuration, you might require few other details such as port number. If you didn’t configure your server to need those settings, keep them as it is.

FTP a Linux Server using Command on the shell

Now I will describe how to use the Linux FTP command on the shell. I will also explain you about how to connect to an FTP server so that your can upload and download files. FTP command is very useful when you work remotely on your Dedicated server over SSH access.

Creating an FTP connection

In order to connect to the FTP server, you need to type in the terminal command, FTP and then the domain name of your website “xyz.com or IP address of your server.

  • For examples:
  • ftp xyz.com
  • ftp 00.108.0.12
  • ftp This email address is being protected from spambots. You need JavaScript enabled to view it.
 

Note: The above IP we used us just for reference purpose.

Replace the IP address and domain name with your IP and domain name of your server.



Login with your username and password

All the FTP servers logins are password protected, so you need to provide login details to server such as username and password.

If you connect to an anonymous FTP server, then you can use “anonymous as username and don’t use any password:

  • Name: anonymous
  • Password:
 

The terminal will display a message stating: 230 Login successful.

When you are logged in successfully to FTP.

 

Above mentioned are the ways to FTP the website to your Linux Server.

 

Looking for more help? Contact our support team today and our support team is available 24/7 by live chat, email, phone and ticket system.

Using filezilla for ftp sftp

FileZilla is a free to use, and an open source FTP client available on the web for Windows  and Linux. FTP and SFTP both are supported by FileZilla. And can be easily used on all hosting services provided by HostingRaja. You can download it by visiting FileZilla website and install it on your system.

 

For reference purpose we are using xyz.com, you can replace it with your actual domain name.

In this article we will provide you with the detailed information to configure FTP/SFTP to work with HostingRaja dedicated server solutions.

Mandates

Before you begin, make sure you have below mentioned details:

  • Server Name- xyz.com or your IP

  • Username- Your FTP username

  • Password- Your FTP password.

Follow below instructions:

Once you are done with the installation of FileZilla on your system, we can easily create a bookmark for your FTP setting making use of the Site Manager.

 

  • Hit File from the menu and then Site manager.



  • Hit New Site option and rename the bookmark:

 



  • Enter the following details:

 

  • Host- xyz.com or your IP address.

  • Port - 21.

  • Protocol- FTP (FIle Transfer Protocol).

  • Encryption- Use plain FTP.

  • Logon Type- Choose Normal.

  • User- Yourusername.

  • Password- Your FTP Password.

For SFTP, use the following settings:

  • Port- 22

  • Protocol- SFTP -(SSH File Transfer Protocol)

  • At last Enable Passive Mode- Hit transfer Settings and in transfer mode choose passive

In case you are facing any difficulty, feel free to contact our technical team today via, email, toll-free or live chat.