|
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
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.