How to synchronize files and folder over a RAS or VPN connection?
Objectives
| 1. | Automatically connect to a remote network using RAS or VPN. |
| 2. | Synchronize selected files/folders. |
| 3. | Disconnect remote network connection. |
Requirement
It is assumed that your VPN and or RAS connections have been created and are accessible through your environment.
|
1. Open the Profiler Application
|
2. Select Source and Target Folders
a. Go to the Folder Selection screen.
|
b. Select a Source folder on your laptop that you wish to synchronize from.
|
c. Select a Target folder on your desktop that you wish to synchronize to.
|
|
3. Set File and Folder Exceptions
a. Go to the Exceptions screen.
|
b. Specify files/folders to include/exclude by setting the appropriate items.
|
|
4. Build .CMD or .BAT external batch files to execute
a. Open a text editor such as Notepad and create a new document.
|
b. Add the following line to the document: start rasdial.exe "Connection Name" /DOMAIN:DomainName
(Where Connection Name and Domain Name are replaced with your network connection information as specified in the specific RAS or VPN connection screen). Please note the use of double quotes around the Connection Name.
|
c. Save the file as ConnectRAS1.CMD in the PeerSync installed folder "C:\Program Files\PeerSync" (default).
|
d. Create a new document, and add the following line: start rasdial.exe "Connection Name" /DISCONNECT
|
e. Save this file as DisConnectRAS1.CMD in the PeerSync installed folder "C:\Program Files\PeerSync" (default).
|
|
5. Save the Profile
|
6. Add icon to Windows Desktop to execute this Profile
a. Go to the Startup Options screen.
|
b. Click on the "Add to Desktop" button. A Desktop icon will be added to your desktop with the name given to the active Profile that you have just created.
|
|
7. Run Profile from Desktop Icon
|
8. Go to The Run Active Profile Screen and Launch the Profile to connect and synchronize with your remote network.
|