If you happen to like Python here are a couple sample scripts that use pysftp:

https://github.com/richardschoen/PythonSamples/blob/master/ibmi/pysftpupload.py

https://github.com/richardschoen/PythonSamples/blob/master/ibmi/pysftpdownload.py

You can utilize this utility to run Python or any QSH/Pase apps via CL:
https://github.com/richardschoen/qshoni

Regards,
Richard Schoen
Web: http://www.richardschoen.net
Email: richard@xxxxxxxxxxxxxxxxx

----------------------------------------------------------------------

message: 1
date: Wed, 24 Nov 2021 11:49:57 -0800
from: "Gary Kuznitz " <docfxit@xxxxxxxxxxxx>
subject: SSH file transfer

I have a Bitvise SSH server running on a PC.

I would like to transfer files from an IBMi running V7r4 to the server.

1. Does anyone know how to setup SSH on the IBMi?
2. Does anyone have a CL program to transfer files via SSH?

When I create a PDF on the IBMi IFS it would be nice to transfer that file to a SSH server on a PC.

Thank you,

Gary Kuznitz

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.