Master File Transfers with rzsz: Drag‑and‑Drop and Command Line Tips
This guide walks you through installing and using the rzsz utility to transfer files between Windows and remote Linux machines via XShell, covering network checks, package installation, and both drag‑and‑drop and command‑line methods for uploading and downloading.
About rzsz
This tool enables file transfer between a Windows machine and a remote Linux machine using XShell. After installation you can drag files to upload.
First, check whether the machine has network connectivity.
Use ping to verify (skip this step if you are on a cloud server). ping -c 5 www.baidu.com If you see an IP address and latency values, the network is working.
List available packages with yum list and filter for rzsz using grep: yum list | grep rzsz Install the package (use sudo if you are a normal user):
sudo yum install -y lrzsz.x86_64Using the commands
Download a file to the local machine with sz file1.txt:
sz file1.txtUpload a file either by dragging it onto the terminal or by running rz and selecting the file in the dialog.
Method 1: Direct drag‑and‑drop
Simply drag the file into the terminal window.
Method 2: Use the rz command
rzIn the pop‑up window choose the file to upload.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
MaGe Linux Operations
Founded in 2009, MaGe Education is a top Chinese high‑end IT training brand. Its graduates earn 12K+ RMB salaries, and the school has trained tens of thousands of students. It offers high‑pay courses in Linux cloud operations, Python full‑stack, automation, data analysis, AI, and Go high‑concurrency architecture. Thanks to quality courses and a solid reputation, it has talent partnerships with numerous internet firms.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
