How to manually transfer files via SFTP on a Linux server?

Follow the below given steps to manually transfer files via SFTP on a Linux server.
  • To open an SFTP connection to a remote system, use the SFTP command followed by the remote server username and the IP address or domain name:
 sftp remote_username@server_ip_or_hostname
  • Now you need to choose a path where you want to get the file/folder to be transferred. In order to do this run the command “lcd” and specify the destination path.
For example,
lcd /path/where_you_need_to/get_the_file

Once you did that download the files remotely from the source using the get command

  • To download a directory from the remote system, use the recursive -r option:
get -r /path/to/remote_directory
That's It !

Check out the video tutorial to get in detail procedure for the same. You can also go through the blog.
  • How to manually transfer files via SFTP in Linux server, How To Use SFTP to Securely Transfer Files with a Remote Server, How to Use Linux SFTP Command to Transfer Files, transfer files manually on linux server, how to transfer files using sftp, How to Securely Transfer Files With SFTP, transfer files using sftp, transfer files using linux command, transfer files using sftp commands
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What are some Basic SSH commands?

List of some basic SSH commands are: ls – This command is used to list all files and...

How to connect to SSH?

Putty is an open-source SSH client used to connect to a remote server. This article describes how...

20 Basic Linux Commands and their Uses.

Following are the top 20 basic Linux Commands with Live Examples that would definitely help you...

How to Block/Unblock IPs from SSH?

You can easily block or unblock IPs  from SSH. #1. Block An IP Address from SSH First of all,...

How to install CpCleaner in cPanel through SSH?

CpCleaner is a cPanel plugin created to give cPanel users the option to clean junk files that...