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



I just went to the open source package management in ACS and it was
listed as an installable package. I created a simple script that had
this in it:

open sftp://kevin:xxxxx@172.24.1.112; ls; exit

and ran it

lftp -f /kevin/testlftp.script

and it worked. Most of our sftp is just picking up all the files in a
directory. Regular ftp was always easy to script, but sftp required us
to use expect scripts like this:

#!/usr/local/bin/expect -f
spawn sftp -oPort=9002 user@1.2.3.4
expect "password:"
send "PaSsWoRd!\n"
expect "sftp>"
send "cd current\n"
expect "sftp>"
send "mget *\n"
expect "sftp>"
send "quit\n"

It worked, but required you to map out the entire session, and sometimes
fails for no good reason.




Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf
Of Steinmetz, Paul
Sent: Tuesday, August 7, 2018 10:06 AM
To: 'Midrange Systems Technical Discussion'
Subject: RE: IBM i 7.3 TR5

Kevin,

Do you have the details for LFTP, I'm not finding anything.

Paul

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf
Of Kevin Bucknum
Sent: Tuesday, August 07, 2018 10:26 AM
To: Midrange Systems Technical Discussion
Subject: RE: IBM i 7.3 TR5

This is the addition that has me excited, and it is already available.

LFTP: As part of the RPM-based offering set, the LFTP utility is now
available.
LFTP is a sophisticated file transfer program. While it can serve as a
command-line FTP utility, it understands a number of protocols
including ftp,
sftp, http, and others. It comes with a variety of features, such as
the ability
to create site mirrors or perform multiple tasks in parallel.

A couple quick tests and it looks like this will greatly simplify sftp
using
username and password.




Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On
Behalf Of
Rob Berendt
Sent: Tuesday, August 7, 2018 8:32 AM
To: Midrange Systems Technical Discussion
Subject: Re: IBM i 7.3 TR5

In the tradition of recent Technology Refreshes, IBM i Services are
added and
enhanced, enabling useful SQL-based alternatives to IBM i commands
and
APIs:
The ACTIVE_JOB_INFO UDTF offers new optional input parameters and 70
new return columns. With these enhancements, administrators can more
easily ask systems management-oriented questions using SQL.
The JOB_DESCRIPTION_INFO view returns one row for each job
description.
This service adds to the set of work management topics that can be
managed
using SQL.
New capabilities are added for the database engineer:
The QSYS2.GENERATE_SQL_OBJECTS() procedure is added as a Db2 for i
provided database service. With this procedure, Db2 for i analyzes
dependent objects to produce perfectly ordered generated SQL,
enabling
a
significant productivity boost.

http://ibm.biz/DB2foriServices
Updated yesterday at 10:20 PM by ScottForstie

Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600
Mail
to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx 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: http://amzn.to/2dEadiD
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx 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: http://amzn.to/2dEadiD
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx 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: http://amzn.to/2dEadiD

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.