07-21-2013 01:33 AM
Hello Community,
I have been evaluating the attached Tcl script. At present the results are delivered to email - which is great. However, would it be possible to have the results also sent to a file via tftp server or sent to flash?
Cheers
Carlton
Solved! Go to Solution.
07-21-2013 07:41 AM
You'd have to go through the script and wherever you see "$body" being built, take what you want and write that to a file. You could open the file close to the beginning with:
set fd [open FILE "w"]
Then write to it with:
puts $fd STRING
07-21-2013 07:41 AM
You'd have to go through the script and wherever you see "$body" being built, take what you want and write that to a file. You could open the file close to the beginning with:
set fd [open FILE "w"]
Then write to it with:
puts $fd STRING
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: