Transparent Wireless Sync

CaptainKahuna

Platinum Member
May 19, 2002
2,228
0
0
www.billda.com
I need some sort of software that will automatically sync 2 directories over a network with ZERO user input automatically as soon as a network connection is detected. For example, as soon as I walk in range of my wireless LAN with my notebook, all files in C:\blah\ on my notebook are synced with C:\stuff\blah\ on my desktop, assuming that everything on the desktop is the most current. I want to do this TRANSPARENTLY. I thought maybe the program could constantly ping an address, and most of the time, it would time out. But if the ping were returned, it would start some sort of sync program that works automatically and closes when it's done. Then, the "pinging" program would have to continue to ping, but not sync again until the ping was lost, and then "refound". Any ideas?
 

coder1

Senior member
Jul 29, 2000
433
0
0
You could write a quick VB program that would do this. Maybe even have a access DB keeping track of every sync There are alot of things you may have to put into the equation. For instance, wen do you sync form laptop to desktop and vise versa. Also you'll need to have some setting where you can manual sync. All of this could be done in VB fairly easy.
 

Beau

Lifer
Jun 25, 2001
17,730
0
76
www.beauscott.com
Originally posted by: CaptainKahuna
Problem: my programming savvy = 0

All the more reason to do it. There's nothing that educates better than necessity.

This is how I'd go about it: Write a small vbs that is executed every so often (polling your network for connection will cause major slow downs) using the windows task scheduler, maybe every 15 seconds. Have the app try to connect to a folder on the remote computer, if it fails (no connection) quit the app, if it connectects, copy all files that differ. It'd be pretty easy to do. Could even have it write/append all errors to a text log very easily. If you want some help, LMK, I'll write a quicky for ya.