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



Disregard. Behind on posts and see it is indeed encrypted.
I wrote in a obfuscation technique to reference the ENV Var in the script in place of the clear text password.

Jay

Sent from my iPhone

On Nov 26, 2019, at 3:49 PM, Jay Vaughn <jeffersonvaughn@xxxxxxxxx> wrote:

Is that right?
I see it referenced but not displayed in the expect script. But had no idea it was sent in clear txt. It’s an encrypted file transmission. Why not encrypt the password as well?

Jay

Sent from my iPhone

On Nov 26, 2019, at 3:00 PM, Jerry Draper <midrangel@xxxxxxxxxxxxx> wrote:

The problem with userid/pw is that it is sent in clear text.

J

On 11/26/2019 11:52 AM, Jay Vaughn wrote:
Jerry, we are prepared to do key exchange as well and so far out of all the
vendors we work with only 1 has required key exchange.
I know you are wording it the other way around, that YOU absolutely require
it, however.
We were happy to get password working - much easier to get up and
transferring files for everyone... because we realize that key exchange is
a challenge for some.
Jay
On Tue, Nov 26, 2019 at 2:35 PM Jerry Draper <midrangel@xxxxxxxxxxxxx>
wrote:
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


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


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

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.