Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


rz and sz commands

Posted on 2003-10-29
Medium Priority
Last Modified: 2012-06-27
hi to all
by using sz , rz  commands how could i transfer files in  unix operation system?
plz give me some information about z modem program  and a link to download free  one.
thanks in advance
Question by:asad72
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3

Expert Comment

ID: 9642609

I don't suppose you could move the files with scp or ftp?

Author Comment

ID: 9643801
how could i move the files with scp or ftp?

Accepted Solution

ddspar earned 375 total points
ID: 9644330
Assuming you aren't pulling my chain:      :o)

If the sending and receiving boxes are on the same network and running ssh or ftp services, you could use secure copy or ftp to move the files.

scp <file_to_send>  some_server:/some_dir


ftp <some_server>
<login process>
cd <some_directory>
put <file_to_send>

For more on the secure shell:

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 62

Expert Comment

ID: 9644761
> how could I? :
you need a terminal emulator which supports Zmodem transfers like (Secure)CRT from

then you type sz somefile and it comes to your host.
or when you type rz terminal program asks you for list of files to receive.

alternatives are uuencode/uudecode and winzip on windows - i.e you :paste: uuencoded file to uudecode on unix and vice versa...

sometimes utilities are called lsz and lrz

ddspar: ssh good but sz/rz/uue uses same session for transfers - 500pts in your direction if you point me to software which starts sftp-server in another channel in ssh terminal session(protocol can support it you know)... i know <CR>~C but this does not help...

Expert Comment

ID: 9645371
gheist:  I can't imagine what you're trying to do.
scp has always been sufficient for me, but I'm not using a modem.
LVL 62

Expert Comment

ID: 9645945
just like ssh does tcp forwarding, i will try to add sftp/scp connection channel to existing ssh session...i am not using modem too...

Expert Comment

ID: 9646430
I guess I don't know why you wouldn't just open another session.
Wheres the link to your question so we can get out of this one?

Expert Comment

ID: 9646569
gheist:  The program 'screen' might do what you want (assuming I understand what it is that you want.)
LVL 62

Expert Comment

ID: 9647999
no not screen - i know ^A^D... no question - i do not want another Q without A

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

FreeBSD on EC2 FreeBSD ( is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

662 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question