Synchronization Errors Inside the Office

Discussions about syncing data via Bluetooth, Dropbox, FTP, and using CSWeb
Forum rules
New release: CSPro 8.0
Post Reply
Right2Care
Posts: 2
Joined: February 22nd, 2017, 6:28 am

Synchronization Errors Inside the Office

Post 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?
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Synchronization Errors Inside the Office

Post 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.
Post Reply