Use sz download and rz to upload files under SecureCRT

  
 

Before downloading the files on the Linux machine via FTP, upload it after the Windows
editing, so it is more troublesome. I just heard from my colleagues that the sz and rz commands can be used to upload and download in SecureCRT. Configure the upload and download directory: select a session label, click the right mouse button, pop up the menu, select the session option, as shown below, set the upload and download directory


Download file:

Enter the linux directory, enter the command sz filename, and then download the specified file to the previously specified directory

#sz filename


Upload file:

Enter the corresponding directory, enter rz, a dialog box will pop up to select the upload file, click OK.

#rz


Note that f-covering files should be rz-y, only rz cannot overwrite existing files

#rz -y


Rz can not be used to solve

Used SecureCRT, I feel that the rz command is too convenient, but recently encountered a new Linux server, rushed to use SecureCRT to connect, found Can not recognize the rz command, used hundreds of times before, can not be wrong, so check the N for a long time on the Internet, only to know that the original use of SecureCRT rz command, to install a tool on Linux, the specific process is as follows: Linux system manual installation The rz/sz package custom installation of linux may not install the rzsz package to the system, which is especially inconvenient for transferring files with windows tools such as securecrt. In order to use this convenient method, it can be installed manually. 1. Download the software rzsz-3.34.tar.gz, log in to linux, and download it with the command wget http://freeware.sgi.com/source/rzsz/rzsz-3.48.tar.gz. 2, extract tar zxvf rzsz-3.34.tar.gz 3, install cd rzsz-3.34; make posix. Note: This software installation is different from regular GNU software — there is no configure and make install. First execute the command make, the following prompt will be given: [root@appuser rzsz]# make Select the location parameter of make according to your own system. Under normal circumstances, you can choose posix or linux. Executing the command make posix, we can clearly see the work done in this step from the output section: [root@appuser rzsz]# make posix 4. To facilitate the use of this tool, copy the relevant files to the directory /usr/bin. Here only need to copy 2 files rz and sz, the command is: cp rz sz /usr/bin. ok, you're done, you can now use the SecureCRT rz command.

############# Other methods:

Or install with rpm: rpm ivh lrzsz-x.rpm (go to CD)

Or install directly with yum. Yum install lrzsz Note that after rhel is installed, you can use rz sz

Copyright © Windows knowledge All Rights Reserved