> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of John Kington
> Sent: Wednesday, May 02, 2007 6:28 AM
> To: [email protected]
> Subject: SFTP Client for z/OS
> 
> 
> Is there a SFTP client that can run on z/OS 1.7 without 
> needing Unix System
> Services?
> TIA
> John

Perhaps?

http://www.ssh.com/products/server-zos/

I'm not sure. 

I do know a method to use the OpenSSH from IBM to transfer files, but it
doesn't used sftp. It just uses ssh itself. Suppose I want to transfer
the file 'MY.FILE' to user USER on system REMOTE and call it ~/my.file.
On z/OS, in BPXBATCH or a UNIX shell, I can do:

cp "//'MY.FILE'" /dev/fd/1|ssh [EMAIL PROTECTED] 'cat >~/my.file'

Note that non-interactive use would require the appropriate,
unencrypted, cert on the z/OS system.

To go from a UNIX system to z/OS would require something like:

cat my.file|ssh [EMAIL PROTECTED] 'cp /dev/fd/0 "//\'MY.FILE\' '

The above assumes that 'MY.FILE' already exists. If 'MY.FILE' does not
exist, you can put a lot of parameters on the "cp" command to specify
allocation parameters such as size, LRECL, and so on.

Please don't ask me about Windows. I don't try anything "advanced" on
Windows. Personal bigotry, I guess. If you have Cygwin or MS's UNIX
services on Windows, I think something similar will work. 

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential.  It is for intended addressee(s) only.  If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense.  If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it. 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to