How to upload a download folder under Linux

Source: Internet
Author: User

Directory replication under Linux: remote server, Local

SCP  -r/home/shaoxiaohu/test1  

Test1 is the source directory, Test2 is the target directory, [email protected] is the user name and IP address of the remote server.

Directory replication under Linux: Remote Server--native

SCP-  R [email protected]:/home/test2/home/shaoxiaohu/test1

[Email protected] is the user name and IP address of the remote server, test1 is the source directory, Test2 is the target directory.
Note: If the port number changes, you need to enter the:-P port number after SCP (note that the command in SSH is lowercase with-p)

1, need to upload or download, need to use RZ and sz command. If you do not have these two command tools on Linux, you will need to install them first. Can be installed using Yum. Run the command yum install lrzsz .

 

2, after the installation is complete, you can use the RZ command to upload local files to the Linux platform. Running the RZ command will pop up a dialog box to select the file.

 

3. Select the folder where you want to upload the file, and then click File. Then click the Add button, and the file you want to upload will appear in the "Sent Files" box. Click the OK button to complete the upload.

 

 

 

4. If you need to download the files on Linux, use the SZ command. SZ plus file full path, for example: sz install.log . This will download to a local default folder.

5, when using the RZ upload, the selection box will be opened in advance in a default directory. When using SZ download, it is also downloaded to a default directory. This default directory can be set.

6, need to set the upload and download the default directory, click on the securecrt menu bar option = "Session options." Open the Session Options dialog box and click Terminal = "X/y/zmodem in category."

 

7, in the dialog box to the right of the set directory, this is the upload and download the default directory. Once you have modified the desired directory, click OK.

  

How to upload a download folder under Linux

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.