How to set up Document Reader SDK database update from local ftp server

Dmitry Matyugin -

If your workstation with Regula document reader connected to it has active Internet connection, you can install database updates automatically when they are available. If it is not possible for some reason to provide Internet connection for every PC with the document reader, you can set up automatic download and installation of the database updates from your local ftp server. Please perform the following steps:

1. Download an update file from our server:

2. Place this file the following ftp server folder:

<root>/Updates/WorldDocs/

Please note that the update files should have the following names:

data_x.y.z.n.dat

where x.y.z.n is a 4-digit version number. While updating the database Document Reader application will check this number against current database version number and will download and install the update only if it is larger.

3. Set up every workplace with Regula document reader to automatically download the updates from your local ftp server. There is two ways to do so:

With .INI file. Place the following parameters to a configuration file RegulaReader.ini, which is located by default in a C:\ProgramData\Regula\Document Reader SDK folder:

[Custom FTP updates settings]
Host=<server hostname>
User=<user with file read and directory listing access>
Password=<password>

[Settings]
DoSilentDBUpdate=1
DoCheckUpdates=1

If you make a fresh installation of Document Reader SDK, this RegulaReader.ini file will be copied to local user folders after the first run of Document Reader application. Otherwise you should make the same changes for all the users. Search for RegulaReader.ini files in C:\Users\<username>\AppData\Local\Regula\Document Reader SDK folders and add mentioned above parameters.

With custom application. Initialize the following properties of a COM-server in your custom application for the document reading:

CustomUpdateServerHost  = <server hostname>
CustomUpdateServerUsername  = <user with file read and directory listing access>
CustomUpdateServerPassword = <password>
DoCheckUpdates = TRUE
DoSilentDBUpdate = TRUE

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.