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



You should redirect the error messages to a file.
Since a normal scp connection does not produce unwanted messages, 
you redirect only stderr by using the following syntax:

scp [options] source destination  2> error.log 


Shalom Carmel
-------------
www.venera.com - Exposing iSeries insecurity



----- Original Message -----
> date: Thu, 1 Sep 2005 08:20:57 -0700 
> from: Mark Keller 
> subject: Pase environment from a batch cl
> 
> Hello. I'm trying to automate an SCP connection using the PASE environment.
> My problem is that I do not want the terminal to ever come up.  I would
> rather log any messages to a file or catch them in my program.  When I have
> a file to receive, this works great.  The transfer is completed entirely in
> batch.  But if the file I'm trying to transfer does not exist, then I have
> the terminal window pop up with an error message, requiring user
> intervention.
> 
> Any suggestions or tips for me?
> 
> Thanks!
> Mark
> 
> 


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.