|
From: Diego Kesselman <diegokesselman@xxxxxxxxx>FTP
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 09/07/2016 04:14 PM
Subject: Re: expect - sometimes it runs sometimes it doesn't....
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
It' s ftp and sftp
El 7 sept. 2016 4:03 PM, "Kevin Adler" <kadler@xxxxxxxxxx> escribió:
lftp is completely different than sftp.
sftp is ftp "command emulation" on top of SSH, the other is standard
youprotocol (unencrypted)
"MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx> wrote on 09/07/2016
03:25:07 PM:
From: Diego Kesselman <diegokesselman@xxxxxxxxx>
To: midrange-l@xxxxxxxxxxxx
Date: 09/07/2016 03:25 PM
Subject: Re: expect - sometimes it runs sometimes it doesn't....
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
Have you tried using lftp instead of sftp command?
With "lftp" (you can take a look here
http://yips.idevcloud.com/wiki/index.php/pase/opensourcebinaries )
them wecan use user and password , no expect required.wrote:
El 07/09/16 a las 15:16, John McKee escribió:
What about sandard error? Anything show up there?
John McKee
On Wed, Sep 7, 2016 at 2:58 PM, DrFranken <midrange@xxxxxxxxxxxx>
I am utilizing expect on several different servers. On one of
day.need
to sftp two small files up to a service periodically through the
itWhen
I run the shell script in QSH it will run perfectly. Then I run
willagain
and it does absolutely nothing. It may be many minutes before it
either.run
again. Signing off and back on doesn't consistently fix it
andWhen
submitted to batch it's the same, it may run and may not.
I am redirecting standard output to a log file (> 'output.log')
filewhen
it runs correctly everything is in it. When it does not run the
tois
loggingcorrectly time stamped but is empty (0 bytes). Even when it's not
it may fail, in that case if it's interactive QSH simply returns
mailingthe '$'
expectprompt.
IBM i 7.1 with reasonably current PTFs and the latest version of
mailing listfrom ScottKlement.com.
Thoughts??
--
- Larry "DrFranken" Bolhuis
www.Frankeni.com
www.iDevCloud.com - Personal Development IBM i timeshare service.
www.iInTheCloud.com - Commercial IBM i Cloud Hosting.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
listlist
To post a message email: MIDRANGE-L@xxxxxxxxxxxxquestions.
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
listTo post a message email: MIDRANGE-L@xxxxxxxxxxxx--
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxquestions.
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
As an Amazon Associate we earn from qualifying purchases.
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.