You can run production synchronizations
by customizing their behavior by creating a PFF file. You then use the PFF as a command line parameter for DataViewer.exe (the associated filename of this utility). For example, if you name your PFF file Download Data.pff, then you can run the synchronization by invoking:
"C:\Program Files (x86)\CSPro 7.1\DataViewer.exe" "Download Data.pff"
This assumes that CSPro was installed in the default directory. Your PFF file must have a .pff extension.
You can create a PFF file in one of two ways: either  create one with a text editor (such as Notepad or Wordpad), or  have it generated automatically for you by downloading it from a CSWeb server
The following section shows the options available to you in a synchronization PFF file. A PFF file is not case sensitive, so you can use any combination of upper and lower case text.
The [Run Information] block is required and must appear exactly as shown in the example above.
The [ExternalFiles] block is required. It relates the dictionary name to the data file that will be synced. If the data file does not exist, it will be created. A copy of the dictionary must exist on the server (which it automatically will if using CSWeb).
The [Parameters] block is required and includes information about the server to be used during the synchronization.
- SyncType= specifies the type of server to be used during the synchronization. Possible options include: CSWeb, Dropbox, and FTP.
- SyncDirection= specifies the direction of the synchronization. The three options, Get, Put, Both, are detailed in the help documentation for the syncdata function.
- SyncUrl= specifies the URL of the server. This is not required if syncing with Dropbox.
- Silent= determines whether or not to close Data Viewer automatically after the synchronization completes. The value can be Yes or No, and defaults to No.