Support for RZ/SZ file upload and download in Linux

Source: Internet
Author: User

) Tool description
In SSH login software such as securecrt, you can enter the RZ/SZ command in the Linux interface to upload/download files. For rhel5, Rz/SZ is not installed by default, so you need to install it manually.
SZ: Send the selected file to the local machine;
RZ: running this command will pop up a file selection window, from the local selection file upload to the server (receive ).
Download installation package lrzsz-0.12.20.tar.gz: http://www.ohse.de/uwe/software/lrzsz.html
2) Software Installation
First, use the SFTP tool to upload the installation file to the/tmp directory.
# Cd/tmp
# Tar zxvf lrzsz-0.12.20.tar.gz & CD lrzsz-0.12.20
#./Configure & make install

By default, lsz and lrz are installed in the/usr/local/bin/directory. Then, create a soft link and name it RZ/SZ:

# Cd/usr/bin
# Ln-S/usr/local/bin/lrz Rz
# Ln-S/usr/local/bin/lsz

3) Instructions for use
Choose securecrt> Options> session Options> x/y/zmodem to set the upload and download directories. Then, when using securecrt to log on to the Linux terminal:
# SZ filename (send the file to the client, which can be started by zmodem)
# RZ (upload files from the client to the Linux 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.