It is currently Tue, 30 Nov 2021 17:15:40 GMT

Author Message
 cu, compress and uuencode; data loss

I've configured a dial-up connection from home using, to work
(5.0.0d); I use cu to dial in, connect at 28.8, V42bis. On the machine
at work, I've created 3 files - one, using

find . -name "*" -depth | cpio -o > cpio_file

and then

compress -cF -H cpio_file > compressed_file

and the other 2

compress -cF -H * > compressed_file

The files at this stage are ~450K, 2.4Mb, and 246K respectively.

After uuencoding, using

uuencode local_compressed_file remote_compressed_file > uuencoded_file

their sizes are increased by ~35%

I connect from home, and enter

~[node_name]%take uuencoded_file

and get them across with no problem.

I uudecode on

the largest file manages ~122K of decoded output, and then fails
with "No end line", which the file has; the other 2 decode OK.

When I run

uncompress compressed_file

the first outputs the first file only from the compressed_file
(all 46 bytes) and exits; the cpio'ed one manages 65K
and then says "Bad decode table" and exits.

I've tried this using compress from both systems.

Can anyone help?


 Sat, 08 May 1999 03:00:00 GMT   
 cu, compress and uuencode; data loss

cu's ~%put, ~%take "protocols" are no such thing.  They just dump data
at one end and read it at the other.  Line noise and buffer overruns are

I used to be able to transcribe Morse code at a little over 5WPM (enough
to get a ham license before they removed the code requirement).  If you
tried to get me to transcribe 5WPM now... that's about what you're doing
with cu.  Use kermit, xc, rz/sz, something like that which is actually
designed for error-free transfer.

- Show quoted text -

 Mon, 10 May 1999 03:00:00 GMT   
   [ 2 post ] 

Similar Threads

1. cu, uuencode, compress - data corruption and loss

2. 2.4.19-rc1,2 + ext3 data=journal: data loss on unmount

3. 2.4.19-rc1,2 + ext3 data=journal: data loss on unmount

4. serial port data acquisition without data loss?

5. Looking for uuencode/uudecode & compress/uncompress

6. Processing an compressed,uuencoded file

7. tar, compress, uuencode

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software