How to manually transfer files via SFTP in Linux server?

How to manually transfer files via SFTP on a Linux server? [EASY GUIDE]☑️

Today in this tutorial you will learn how to transfer files securely with SFTP. 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

Watch the video tutorial on how to manually transfer files via SFTP on a Linux server.

If you don’t want to watch the video tutorial, skip and proceed with the text version mentioned below.

If you are connecting to a host using password authentication you will be prompted to enter the user password. Once you are logged in to the remote server, your current working directory is the remote user home directory.

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 ex.

lcd /path/where_you_need_to/get_the_file

Now suppose I have to get the file in the directory named “mailer” which is inside public_html so we will run a command as given below:

lcd /home/username/public_html/mailer

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

Now suppose I want to get the “Tester” folder which is located inside public_html of the remote server so we will run a command as given below:

get -r /home/remote_username/public_html/tester

Watch the video carefully so that you don’t miss anything.

That’s all, You are done!!!

For more information, kindly follow us on social media like Twitter and Facebook, and for video tutorials, subscribe to our YouTube channel

Facebook Page-

Twitter Page-

If you have any queries, feel free to let us know via the comments section below.

Thanks for Reading!!!

Tags: cheap linux hostingbuy linux hostingcheap reseller hostingbuy reseller hostingbest reseller hostingcheap web hostingcheapest web hostingcheapest reseller hosting,  cheap reseller hostcheap linux hostcheapest linux hostingbest linux hostingbest web hosting


Scroll to Top