All,
I am writtting this script for a client that will transfer their files via SFTP and write a small log to their system. I would also like it to write a log on our server as well, other than just doing what I have, writting the date and the file transfered. What can I do to capture erros from SFTP so that if the transfer fails I can write it to the log file? Script is below:
Thanks for the help. Tim
If you are looking for better logging interfaces, check out log4perl, not aware of anything that can top it.
http://log4perl.sf.net
HTH,
http://danconia.org
[snip code]
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>