On SECURECRT, use the command line to upload or download files from a remote server

Source: Internet
Author: User
Tags filezilla ftp access ftp protocol

Introduction: On the server, it is generally accessed through the command line. For the need to upload or download files, you can use Rz/sz to do similar things, in addition to using tools such as FileZilla.


1. SecureCRT

SecureCRT is a support The terminal emulator for SSH(SSH1 and SSH2) is simply the software that logs on to UNIX or Linux server hosts under Windows .

General operations or developers are using these tools to Telnet to the server and complete the appropriate operation.

2. Upload or download file requirements

General server if you have developed 21 ports and support the FTP protocol, you can use tools such as FileZilla for FTP access. However, many times, the server may have banned the use of FTP to share file content. How do you upload or download files on top of the command line?

Take a look at the Rz/sz command, through which they can directly complete the file operation on the server.

3. Rz/sz Installation

Yum Install Lrzsz-y
Installation view:

Check if the Rz/sz is installed successfully:

From the above reaction, it can be seen that the installation is successful.

4. Set the upload/download directory for SECURECRT

Set session options-->x/y/z Modem--Upload directory/download directory

5. Command to use

SZ Command demonstration:

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/*
   RZ Command Demonstration:
    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.
   Then, you can use these commands very comfortably to complete the file upload/download operation.

On SECURECRT, use the command line to upload or download files from a remote server

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.