Re: [Ssh-sftp-perl-users] Permission Denied on Login failure.
Brought to you by:
dbrobins
|
From: Mark A. F. <mar...@ea...> - 2004-02-19 18:06:55
|
From: Rafe Slattery <raf...@iq...> >If there is a login failure I need to trap it and throw an of my own devising, not exit out completely as is currently happening... Is there any way to do what I want? See the archives. I posted something in the past month about how to trap a different error and take my own action. I don't recall if I posted it to sftp or ssh mailing list. The archives are available from http://lists.sourceforge.net/lists/listinfo/ssh-sftp-perl-users But, when I click the link to the archives, it gives me an error. Maybe it's a temporary thing. What I did involved using Perl's sig{__WARN__} and performing the sftp action within an "eval" block. Mark |