scripting carracho...

i know its possible to a degree, it has an entry in the dictionary called getURL, but i dont know how it works. what i am trying to make is a script that will automatically connect/reconnect you to a server if you droped and could possible resume a dl/ul if disconnected. is this too complex for applescript?