in my dyndns scripts I'am using fetch to gather my public ip, this information is written to a file on the flash drive.
I'am a little bit concerned that these continuous writes to the flash memory will hurt it over the years, maybe I'am totally wrong on this.
But wouldn't it be an easy thing to have a fetch option to return the response directly.
Usually its done by something like this:
Code: Select all
/tool fetch url="http://automation.whatismyip.com/######.asp" mode=http;
global getIP [/file get ######.asp contents];
Code: Select all
global getIP [/tool fetch url="http://automation.whatismyip.com/######.asp" mode=http contents;];