Hi Phil... have you got a link for the method you mention above?
I use something similar myself. It is simple stuff. If you're interested I'll tidy it up as soon as I get a moment (Error handling? What error handling?) and send it to you. few of the servers I maintain are in the domain so I use a slightly more roundabout route....
Best wishes,
Phil Factor