Ubuntu File Remote Transfer

Source: Internet
Author: User
Tags rsync

The remote transfer of Ubuntu files is divided into uploading files and downloading files

The required conditions are:

1. Remote User and IP

2. Scp,rsync and SFTP Software

The software is installed as follows

sudo apt-get install scpsudo apt-get install rsyncsudo apt-get install SFTP

One. Uploading files

Method One:

scp-r FileName [Email protected]_ip:~/remote_position

where filename is the file that needs to be uploaded, username is the remote user name, REMOTE_IP is the remote IP address, remote_position is the remote path

Method Two:

Step 1, log in to the remote user with SFTP

sftp [Email protected]_ip

Step 2, create the destination folder remotely

mkdir Remote_fold

Step 3, upload the local file to the remote

Put-r Local_fold Remote_fold

Two. Download the file

Method One:

rsync-av-e ssh [email protected]_ip:~/remote_filename local_path

Method Two:

Step 1, log in to the remote user with SFTP

sftp [Email protected]_ip

Step 2, download the remote file

Get-r Remote_fold local_position

Ubuntu File Remote Transfer

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.