in reply to moving logs files on a remote share.

In looking over your code, I thought I'd just make a couple of suggestions that may help you with future programs: