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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide