× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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.

Thanks Keith


On 26 March 2016 at 02:08, <MichaelQuigley@xxxxxxxxxx> wrote:

"RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxx> wrote on 03/24/2016 01:00:04
PM:
----- Message from John Yeung <gallium.arsenide@xxxxxxxxx> on Wed,
23 Mar 2016 17:53:49 -0400 -----

To:

"RPG programming on the IBM i (AS/400 and iSeries)"
<rpg400-l@xxxxxxxxxxxx>

Subject:

Re: Dynamic FTP script creation

On Wed, Mar 23, 2016 at 4:31 PM, Tyler, Matt
<matt.tyler@xxxxxxxxxxxxxx> wrote:
FTPAPI is great but I believe it's not secure enabled; we need
secure connections in most of our FTP process outside the company.
More and more our vendors are asking for SFTP file transfer.

We use two methods. FTP2 from TAATOOLs or SFTP from GOANYWHERE
Managed File Transfer. If you need SSH FTP capabilities this GA is
really great.

I think it's both true and desirable that more and more companies are
using SFTP.

It's also true that Scott's FTPAPI, while probably the best way to
interface with FTP through RPG, doesn't handle SFTP:

https://scottklement.com/archives/ftpapi/200509/msg00017.html

One no-monetary-cost option for SFTP on the i is iSeriesPython and the
pysftp module, which I find very easy to use. There are also several
free options on PASE.

John Y.


If you can understand writing shell scripts, you can use SFTP in PASE (or
I believe in QShell, as well). It's included with IBM i and it's free. I
write shell scripts which generate the SFTP scripts. Shell scripts are
definitely foreign to IBM i programmers, but they are very powerful.

Michael Quigley
Computer Services
The Way International
www.TheWay.org
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.