Page 1 of 1

Synchronization Errors Inside the Office

Posted: March 10th, 2017, 8:04 am
by Right2Care
Good day developers,

We have created Csenty application, which can connect external.

Is the a way that we can sync data internal-(Office Network) and external-(Outside Network).

Our pnc file contains the following details:


[SyncFile]
Version=CSPro 6.3
AppName=ZAMBIA_PHARMRTC

[Connection]
Type=FTP
Host=ftp://105.255.147.144/
Username=.........
Password=...........
[Sync]

CreateClientPath=/storage/emulated/0/csentry
ClientPath=/storage/emulated/0/csentry

CreateServerPath=/%AppName%/Pharmacy
CreateServerPath=/%AppName%/Pharmacy/%UID%
CreateServerPath=/%AppName%/Pharmacy/%UID%/%Date%
ServerPath=/%AppName%/Pharmacy/%UID%/%Date%
ClientPath=/storage/emulated/0/csentry

put =*.*

The ftp IP address is external one which we can sync data out of our network, though if we sync data inside our own (network-office) it gives us an error. Is the a way to put two IP addresses on one pnc file for external and Internal?

Re: Synchronization Errors Inside the Office

Posted: March 10th, 2017, 10:05 am
by josh
You cannot put two IP addresses in the same PNC file. You could create two PNC files: one for external and one for internal.