×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Our first choice with sFTP is to use secure key exchange.

Only if our partner resists (and is all powerful) will we revert to userid/password which requires pExpect (or Expect if not Python).

Jerry

On 11/26/2019 10:47 AM, Jay Vaughn wrote:
guys - appreciate it but this is not new development...

this is a pretty nice ftp/sftp engine built using PASE and uses Expect
script for passwords. Overall it has proven to be a pretty good
application.

Just need to consider this... I'm honestly thinking that we simply do not
need to use the STMFCODPAG(*PCASCII) on our cpytoimpf when we move the ibmi
file to the IFS.

going to try that.

jay

On Tue, Nov 26, 2019 at 1:39 PM Jerry Draper <midrangel@xxxxxxxxxxxxx>
wrote:

We have extensively used python to drive our sFTP scrips.

We have integrated pExpect in Python which gives you granular control of
the process.

Python is a super powerful addition to the IBM I with its ability to
issue sql commands to any db2 file on the I side and to run any IBM I
command from within Python.

Jerry

On 11/26/2019 10:26 AM, Jack Woehr wrote:
You can also skip the "engine" and just write a python script or even a
simple bash shell script that does this end-to-end.

Such scripts can be launched in PASE from within a CL suitable for job
scheduling.

On Tue, Nov 26, 2019 at 11:24 AM Jay Vaughn <jeffersonvaughn@xxxxxxxxx>
wrote:

awesome jack thanks for that quick reply - let me go research that.



--
Jerry Draper, Trilobyte Software Systems, since 1976
IBMi, Network, and Connectivity Specialists, LAN/WAN/VPN
Representing WinTronix, Synapse, HiT, and others .....
(415) 457-3431 opt-1 . www.trilosoft.com

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com



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-2026 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.