🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.security.ssh
Article #22

z/os scp expects text files? I thought scp was binary only?

#22
From: tonij67
Date: Fri, 24 Feb 2006 23:02
20 lines
2153 bytes
Wierd problem going on here:

I need to transfer files to a OS/390 machine from a Solaris machine.  I
use scp for a whole lot of transfers every day with no problems so it
seems like the obvious choice. (I am using OpenSSH  4.3p2)   We have
been having problems in that every time we send a ZIP file to this z/os
system, they are unable to decompress it.  i.e. its corrupted.

I can send zip files to every other machine on our network, and even a
few machines on *their* network, all different platforms.  The only one
that has issues is this one OS/390.  I suggested they investigate the
verison of SSH they are running and they told me that scp expects all
files to be text, so the only way for this to work is for us to use
sftp instead of scp.

So I am just scratching my head here...all of the reading I have done
has lead me to believe that scp doesnt even *HAVE* a text/binary mode,
that its always binary.

Anyone have any idea what gives here?
Technical Details
Message-ID: <1140822140.499560.206740@e56g2000cwe.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!e56g2000cwe.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 109d1b,3fdb708d1ca68a22,start
X-Google-Thread: fd4af,3fdb708d1ca68a22,start
X-Google-Attributes: gid109d1b,gidfd4af,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!e56g2000cwe.googlegroups.com!not-for-mail
From: tonij67@hotmail.com
Newsgroups: comp.security.ssh,bit.listserv.ibm-main
Subject: z/os scp expects text files? I thought scp was binary only?
Date: 24 Feb 2006 15:02:20 -0800
Organization: http://groups.google.com
Lines: 21
Message-ID: <1140822140.499560.206740@e56g2000cwe.googlegroups.com>
NNTP-Posting-Host: 65.29.189.196
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1140822145 32485 127.0.0.1 (24 Feb 2006 23:02:25 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 24 Feb 2006 23:02:25 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: e56g2000cwe.googlegroups.com; posting-host=65.29.189.196;
   posting-account=hzkZ9A0AAACXjr3Q4oO79cVKWEQkYvW2