|The stupid question is the question not asked|
help with scp error codesby wskibum (Initiate)
|on Mar 16, 2008 at 07:48 UTC||Need Help??|
wskibum has asked for the
wisdom of the Perl Monks concerning the following question:
I am a newbie at Perl, nuf said there I guess.
I have a need to move my log files around and I am using a simple perl scp script to do this. Now I need to add some error reporting to the script and I am in over my head.
1: I need to send an email when scp cannot connect to a server
Please help me out if you can, I've been searching the web with no luck for 2 days.
currently my scp command looks something like this: