On SecureCRT, use the command line to upload or download files from the remote server.

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

On SecureCRT, use the command line to upload or download files from the remote server.

Introduction: Generally, access is performed through the command line on the server. In addition to filezilla and other tools, you can use rz/sz to perform similar operations to upload or download files.


1. SecureCRT

SecureCRT is a terminal simulation program that supports SSH (SSH1 and SSH2). It is simply the software used to log on to UNIX or Linux server hosts in Windows.

Generally, O & M personnel or developers use these tools to remotely log on to the server and complete relevant operations.

2. File upload or download requirements

If the server develops port 21 and supports the ftp protocol, you can use tools such as filezilla for ftp access. However, in many cases, the server may have disabled the use of ftp to share file content. So how can we upload or download files on top of the command line?

Let's take a look at the rz/sz command. They can directly perform file operations on the server.

3. Install rz/sz

yum install lrzsz -y
Installation View:

Check whether the installation of rz/sz is successful:

From the above response, we can see that the installation is successful.

4. Set the SecureCRT upload/download directory

Set session options --> X/Y/Z Modem --> upload directory/download directory

5. Use commands

Sz command Demonstration:

Download the sz filename file.

Download multiple files sz filename1 filename2 download all files under the dir directory, excluding the folder sz dir/* under the dir /*
Rz command Demonstration:
Enter rz and press Enter. The file selection dialog box appears. Select the file to be uploaded. Multiple files can be specified at a time. The path uploaded to the server is the directory where the rz command is currently executed.
Then, you can easily use these commands to complete file upload/download operations.

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.