Thank You Sir!


On Tue, Mar 13, 2012 at 11:58 AM, Jerry Draper <midrangel@xxxxxxxxxxxxx>wrote:

to create:

sFTp -v user@xxxxxxxx >logfile.txt

or, to append:

sFTp -v user@xxxxxxxx >>logfile.txt

Jerry

On 3/13/2012 11:35 AM, Mark Walter wrote:
Does overriding OUTPUT to a file work with sFTP?

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:
midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Kirk Goins
Sent: Tuesday, March 13, 2012 2:34 PM
To: Midrange-L
Subject: Logging sFTP to a file

I have a client that from time to time has a failure running an upload.
They use a menu option to call a CL that creates the file to be uploaded
and then does the sFTP with a Expect script. I want to capture the
session
to a log file. I know I can do sFTp -v user@xxxxxxxx to gen debug output
and use more v's to increase the debug level. I don't want that part to
go
to the screen.

What would be the proper way to create/capture the debug/log info without
filling the user's display with it? Or can that be done when running
interactively?

Thanks


--
Jerome Draper, Trilobyte Software Systems, since 1976
iSeries, Network, and Connectivity Specialists -- iSeries, LAN/WAN/VPN
Representing WinTronix, Synapse, Netopia, HiT, and others .....
(415) 457-3431; www.trilosoft.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: 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.





This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].