File transfer between Linux and Windows __linux

Source: Internet
Author: User
Tags file copy

There are a number of ways to transfer files between Linux systems, and this blog describes two of them. is often used in the development process.

In general, individuals often use the RZ or SZ commands to upload the download file. rz sz upload download

Install Rz,sz, the operation is very simple.

Yum Install Lrzsz

After installation, you can perform basic upload download operations:

Perform the RZ via SECURECRT and upload the operation.

[Root@iz25ltqcjzrz ~]# RZ

Pop-up window, select Upload file, wait for completion. Of course, RZ also has some parameters, such as general use:

Rz-bey
SCP Transfer Files

Because some of the server security considerations, do not allow the installation of RZ software, had to use SCP transmission. The SCP operation commands are actually very simple.

Transfer local files to the destination server under the specified path:

# file copy
$scp local_file remote_username@remote_ip:remote_folder
# directory replication
$SCP-R local_folder Remote_ Username@remote_ip:remote_folder

Where Local_file is the local file, remote_username the target server login name, remote_ip the target server password, remote_folder the target path under the target server.

To place the remote file CP to Local:

$SCP Remote_username@remote_ip:remote_file Local_folder

Compare the local CP to the remote server and just swap the target and source. SFTP

SECURECRT can enter SFTP connection mode via shortcut key alt+p.

Download files

Sftp>get File Absolute Path

View download to local path, get download to local path

Sftp>lpwd

Upload file:

Sftp>put Local File absolute path
Related Article

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.