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



We use "lftp" , it's open source, can use User/Password, and supports
multi-protocol (HTTP, FTP, SFTP, etc)

El vie., 12 de abr. de 2019 14:46, Jerry Draper <midrangel@xxxxxxxxxxxxx>
escribió:

What led us to pExpect is the article by Scott Klement on how to do sFTP
userid/password when you partner will not do key exchange.

Jerry

On 4/12/2019 12:19 PM, John Yeung wrote:
On Fri, Apr 12, 2019 at 2:15 PM Jerry Draper <midrangel@xxxxxxxxxxxxx>
wrote:

We are now using Python and pExpect to closely monitor sFTP file
transfers. We archive sent/received files as well as verbose log files.

That's a pretty good combination, especially given how commonly used
Expect is.

Folks who are developing such processes themselves from scratch today
should be aware that the latest yum-based Python installations offer
another option: Paramiko. Personally, I like pysftp, which is a
wrapper around Paramiko. There's a lot of robustness built into its
simple "get" and "put" methods, which may reduce, or possibly even
eliminate, the need for explicit checking and renaming and so forth.

I strongly encourage anyone with SSH-related needs (including SFTP) to
check out Paramiko. Bear in mind Paramiko must be installed with yum
rather than pip, if you're working on the IBM i.

John Y.


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