For future reference SSH supports SFTP and SCP, SFTP is a binary transfer, without any form of transcoding or character conversion and SCP will perform character conversion (so ASCII <--> EBCDIC and line endings too). To make things more exciting most SCP clients can be told to run in SFTP mode or SCP mode, for most of the clients the default is SCP mode.
FTP supports binary and text transmission, with text transmission the default. So, it could be used. The downside of ordinary FTP is that user credentials are passed on the wire in clear text - so it is not something to be used in a non secure environment; there is also the potential added complexity of active vs passive connections. Most FTP servers and clients can support the FTPS protocol, which uses SSL to protect the control channel.
------------------------------
Chris Hill
------------------------------
Original Message:
Sent: Wed August 11, 2021 10:29 AM
From: Volker Birk
Subject: Checksum Errors
Hi,
scp does character conversion, which will fail for binaries. Using sftp will fix the problem – most likely this is why cyberduck worked.
VB.
------------------------------
Volker Birk
p≡p project
https://pEp.software
------------------------------
Original Message:
Sent: Wed August 11, 2021 06:56 AM
From: Tony Innes
Subject: Checksum Errors
I used scp from my mac. wget, git curl not available on USS.
Just tried cyberduck - all good
Thanks for the FTP tip
------------------------------
Tony Innes
Original Message:
Sent: Wed August 11, 2021 05:34 AM
From: Peter Hunkeler
Subject: Checksum Errors
How did you get that file into the z/Os USS file system? Did you upload
using *binary* ftp?