Technoracle
    Facebook Twitter Instagram
    Facebook Twitter Instagram
    TechnoracleTechnoracle
    • Home
    • AWS
      • EC2
      • Lightsail
      • RDS
      • S3
    • Ubuntu
      • Ubuntu 20.04
      • Ubuntu 22.04
    • AI Tools
    • Web Hosting
    • WordPress
    • Tech News
    Technoracle
    Home - How to Copy File from Local to Remote Server Easily
    Uncategorized

    How to Copy File from Local to Remote Server Easily

    Rajesh ShivamBy Rajesh ShivamJune 11, 2021No Comments2 Mins Read
    Copy File from Local to Remote Server
    Copy File from Local to Remote Server

    If you are using any VPS or Cloud server, most often you need to copy your files from local to remote. You can transfer your files to remote or from remote to local using SSH(Secure Shell) protocol to access your server. SSH has an awesome scp utility for transferring files to remote servers or vice-versa. You can use sftp and rsync utility also to send over the files to the server. In this tutorial, I am going to explain how to copy file from local to remote server. So, let’s get started.

    Page Contents

    • Prerequisites
    • Copy File from Local to Remote Server 
    • Copy File from Remote to Local Server
    • Conclusion

    Prerequisites

    • Server IP address
    • Server user name
    • SSK key or password

    Copy File from Local to Remote Server 

    SCP is the easiest way to transfer or copying the files between remote and local. Let’s have a look at the basic scp command.

    $ scp samplefile.txt remote_user@remote_server:/remote_directory/

    Above command will copy the samplefile.txt to the remote_server location remote_directory location. When you run above command it will ask for password, if you haven’t added your public key to the server for SSH.

    Copy File from Remote to Local Server

    To copy files from the server to the local system, use following command.

    $ scp remote_user@remote_server:/remote_directory/samplefile.txt /local_directory/

    Above command will copy the samplefile.txt from remote_server location local_directory location.

    Read more: How to Upload File to AWS EC2 Instance

    Conclusion

    In this article, you have learned to copy file from local to remote server as well as remote to local.  If you have any doubts feel free to contact me, I will definitely try to help you. Also, you can join our elite Facebook group to get direct help from me. If you like this tutorial, please share this article on your social media handle.

    Copy File from Local to Remote Server copy files to server
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email Reddit
    Previous ArticleHow to Install PyCharm on Ubuntu 20.04
    Next Article How to Install Eclipse in Ubuntu Easily
    Rajesh Shivam
    • LinkedIn

    Rajesh Shivam is a seasoned professional with expertise in AWS and Linux System Administration. With over 10 years of freelancing experience, he brings a wealth of knowledge to the table. Rajesh has a strong passion for technology and stays connected with the latest happenings in the field. His dedication and expertise make him a trusted resource for all things tech-related.

    Related Posts

    Uncategorized

    How to Get your First Order On Fiverr in 2023 – 5 Proven tricks

    Read More
    Copy File from Local to Remote Server
    Uncategorized

    How to Copy File from Local to Remote Server Easily

    Read More
    increase execution time in PHP
    Uncategorized

    How to Increase Execution Time in PHP

    Read More
    Add A Comment

    Leave A Reply Cancel Reply

    Install Google Chrome on Ubuntu 22.04

    How to Install Google Chrome on Ubuntu 22.04(Easy Guide)

    August 29, 2023
    Enable PHP BCMath Extension in cPanel

    How to Enable PHP BCMath Extension in cPanel (3 Easy Quick Steps)

    August 25, 2023
    install PHP GD on Ubuntu

    How to Install PHP GD on Ubuntu 22.04 [Easy Guide]

    May 2, 2023
    Install PHP on Ubuntu 22.04

    How to Install PHP on Ubuntu 22.04 [Simple Guide]

    April 26, 2023

    Subscribe to Blog

    Enter your email address to subscribe to
    this blog and receive notifications of new posts by email.

    Facebook Twitter Instagram Pinterest
    • Sitemap
    • Privacy Policy
    • Disclaimer
    • Term of Services
    © 2023 Technoracle

    Type above and press Enter to search. Press Esc to cancel.

    Click to Copy
    Go to mobile version