Use SecureCRT to upload and download files (using SZ and RZ commands), Super practical!

Source: Internet
Author: User

Upload and download files using SECURECRT (with SZ and RZ commands)

With SECURTCRT, using the Linux command sz can easily download files on the server to local, using the RZ command to upload local files to the server.

Among them, for SZ and RZ understanding and memory I used the following methods (often easy to confuse):

The s in SZ mean Send (send), tell the client, I (server) to send the file send to Cilent, is equivalent to the client in the download.

RZ in R means received (receive), tell the client, I (server) to receive files received by Cilent, is equivalent to the client in the upload.

Remember, either send or received, the action is initiated on the server. We are used to saying that upload or download, in fact, it is not necessary. With these two commands, just think about whether you want to send the file out of the server or receive it back from the client.

If you want to upload files from the client to the server, that is, the server will receive the file back, the logic is: I (client) upload, you (server) receive, using RZ.

If you want to download the file from the server back (to the client), the server will send the file, the logic is: I downloaded (the client), you (server) sent, using SZ.

Well, the final summary is a sentence:

I (client) uploads, you (server) receive (RZ), I download (client), you (server) send (SZ).

--------------------------------------------------------------------------------------------------------------- --------------

SZ usage:

Download a file sz filename download multiple files sz filename1 filename2 download all files under dir directory, do not include the folder under Dir sz dir/*

The download file storage location is set in Securtcrt, located at:

English version options-session Options-x/y/zmodem.

Chinese version option-session option-x/y/zmodem.

RZ usage:

After entering RZ Enter, the file selection dialog will appear, select the file you want to upload, you can specify more than one file at a time, and upload the path to the server as the directory of the currently executing RZ command.

--------------------------------------------------------------------------------------------------------------- --------------

Examples of operations:

First upload operation, we use the RZ command, appears as follows:

The dialog box appears to select the file you want to upload, click OK, here we suggest you better choose a directory to upload, so as to facilitate management, all the uploaded files are in this directory to facilitate management. The following is my operation, the actual situation of their own set

Newly created a download folder, CD download/into the folder, I uploaded the files to Root/download in the current directory to upload.

Enter RZ at this time to upload it, select the file you want to upload

Click OK, you should start uploading now, you will see the progress bar is walking

, if the upload interface does not appear, you can click

Click "Zmodem upload List", so upload it, we use the view command ll look

This file is uploaded, and other files can upload to Linux in this way so that we can install the software.

Let's take a look at the download operation, using the SZ directive:

Use the command sz to upload, and then specify the file to be downloaded later.

Start to show progress bar

But where did I download it?

Click Options:

Select the last X/y/zmodem setting

Upload directory: Using the RZ command, when the upload operation, the popup dialog box, will be located in the default directory.

Download directory: Using the SZ Directive, the downloaded file is downloaded to the directory by default after the download operation.

Did you see that? The files we download are under the E:\share\download folder, where you can set up your own definition to download and upload the default directory.


Author:lioncode
Cmp:jtsec-rd
date:2012-08-29 20:34
Project:jtsec_one-way_dbsync
version:v1.0.0

Note: The article part of the content or from the Internet, from my collation, each note may have your credit, in this thanks!

Use SecureCRT to upload and download files (using SZ and RZ commands), Super practical!

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.