posted 10 years ago
Hi all of you
i need your help please
my application is the telnet on the routers that the addresses and hostnames on excel file
so we telnet on all data from the excel with the code of telnet and we save the configuration or the result in file .txt
but the problem that it's some routers are the result of telnet : Failure : meanse wa cannot telnet about them
so i save all of configuration of success telnet routers in file text for each router
And i want the Failure telnet router save his addresse in another file which i rename Failed.txt
this is the code of telnet where i create the codes of telnet , creat files
Please any one help me !!