On Sat, Mar 26, 2016 at 1:34 PM, Keith McCully <keithmccully@xxxxxxxxx> wrote:
Yes, SFTP runs fine in QShell. I have used IFS APIs called from RPG to
dynamically build a SFTP batch script in the IFS and then execute via
QShell to export IFS files as part of an automated background job. The
dynamic bit is required because the same file will have a different name
each export due to a date (and possibly time) suffix eg. MyFile160326.

I keep kind of forgetting about the built-in SFTP because I couldn't
get it to work at my shop. I don't think it's broken or anything, but
I think (1) it was designed to work with stored certificates and not
password-based authentication, (2) I didn't know how to work with
stored certificates, and I still haven't really developed a comfort
level with them, and (3) the folks we were trying to share files with
had their SFTP set up for password-based authentication.

I eventually found that I could use iSeriesPython for password-SFTP
and never looked back.

Python also happens to be easier to do IFS stuff with than RPG.

John Y.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 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.