The WebSync Configuration-Dialog

For every remote host you want to synchronize with, you have to define a set of parameters (e.g. local directory, name of remote host etc). Each set of parameters is saved to a flat file in the format of a Java-properties file.

The configuration data could be edited by hand, but it is much simpler (and saver) to use the Configuriation-Dialog. You create a new configuration with Config->New, or open an exiting one with Config->Open. To edit the current configuration, use Config->Edit. With Config->Save rsp. Config->save As... you can save the current configuration, giving it a new name in the latter case.

The Configuriation-Dialog looks like this:

The meaning of the parameters are as follows:

Name Description
Remote Host The name of the FTP-Server
File Separator The separation character of filenames on the remote host. On unix systems, that's a "/", on DOS/Windows systems, that's a "\".
CD to remote dir WebSync changes to this directory after logging in. All files are uploaded relative to this directory.
This parameter is optional.
Local Directory The master directory. All files and directories below this directory are synchronized with the remote host.
Exclude Regex A regular expression of file or directory names not to synchronize. Useful to exclude directories like "CVS". Note that regex evaluation is done on a directory basis, i.e. before the name is compared to the regex pattern all leading directory patterns are removed. If you want to delete everything on the FTP server, set this value to ".*".
This parameter is optional.
Status File Filename to save sync status to. The saved status is the basis for the comparison on the next run of WebSync.
Log File Filename to append the synchronization log to. If you use the GUI, you can save the log also using the menu (Log->Save).
This parameter is optional.
FTP Username Like the name says: your username with wich you log onto your FTP server. Note that the password is not part of the configuration (I don't like saving passwords in files) and is entered in the sync dialog.


My Homepage
Bernhard Bablok (mail @ bablokb.de)