I have an app that I have scheduled to run each monrning at 6am. It does a few puts and gets to my FTP sites. The problem is I run it from a machine that uses DUN to connect.
The machine is connected often, but sometimes during the night the connection drops. I could use something like dunce, but I would rather do it myself.
I basically want to test to see if it is connected, and if it is not - then go ahead and connect.
Any suggestions on the best way to do this would be appreciated.