Skip to content
Master File Transfers with rzsz: Drag‑and‑Drop and Command Line Tips
Operations 3 min read

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.

MaGe Linux Operations
MaGe Linux Operations
MaGe Linux Operations

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_64

Using the commands

Download a file to the local machine with sz file1.txt:

sz file1.txt

Upload 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

rz

In the pop‑up window choose the file to upload.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Linuxwindowsfile transferXshellrzsz
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.