Page 1 of 1

Problem in Sync.

Posted: April 29th, 2016, 9:29 am
by paridadeep295
Hi,

am using below code for sync data but sometimes some data(.dat) file not comming. please help.

[SyncFile]
Version=CSPro 6.1
AppName=235

[Connection]
Type=Dropbox

[Sync]
CreateServerPath=/JEEVIKA_MAIN/JEEVIKA_Main_CsPro_Data/TAB%AppName%-%DateTime%

ServerPath=/JEEVIKA_MAIN/JEEVIKA_Main_CsPro_Data/TAB%AppName%-%DateTime%
ClientPath=/JEEVIKA_MAIN/JEEVIKA_Menu/DATA
Put=*.dat
Put=*.dat.not

Thanks.
Dilip

Re: Problem in Sync.

Posted: May 2nd, 2016, 5:18 am
by josh
I don't see any problems with the file you attached. Are you getting any errors when the data file doesn't show up? Have you looked at the synclog.txt file in the CSEntry directory of your tablet to see if the transfer is shown there?

Re: Problem in Sync.

Posted: May 2nd, 2016, 7:28 am
by paridadeep295
Thanks Josh,

am realising when data files is more and when am writing for create folder with date and time then some data files not comming into that folder(i mean showing sync succsessfully in tablet but missing(not all but some)). But when am writing to specific folder which is already there in my system dropbox folder then data is comming properly(example given below). also am facing same problem with a external sync application.

example.
[SyncFile]
Version=CSPro 6.1
AppName=235

[Connection]
Type=Dropbox

[Sync]
CreateServerPath=/JEEVIKA_MAIN/JEEVIKA_Main_CsPro_Data/TAB235

ServerPath=/JEEVIKA_MAIN/JEEVIKA_Main_CsPro_Data/TAB%TAB235
ClientPath=/JEEVIKA_MAIN/JEEVIKA_Menu/DATA
Put=*.dat
Put=*.dat.not

TAB235 a folder which is available in my dropbox folder.

Regards
Dilip

Re: Problem in Sync.

Posted: May 2nd, 2016, 6:54 pm
by josh
What does the synclog.txt say? Does it show all the files being sent?

Re: Problem in Sync.

Posted: May 4th, 2016, 7:17 am
by paridadeep295
Yes Josh,
synclog showing all files sent.

regards
Dilip

Re: Problem in Sync.

Posted: May 4th, 2016, 4:25 pm
by josh
I noticed that the ServerPath and CreateServerPath in the file you posted do not match. Could that be the problem?

Re: Problem in Sync.

Posted: May 6th, 2016, 6:05 am
by paridadeep295
sorry that that path wrong pasted.

Right one here.
[SyncFile]
Version=CSPro 6.1
AppName=TAB235

[Connection]
Type=Dropbox

[Sync]
CreateServerPath=/JEEVIKA_MAIN/JEEVIKA_Main_CsPro_Data/TAB235

ServerPath=/JEEVIKA_MAIN/JEEVIKA_Main_CsPro_Data/TAB235
ClientPath=/JEEVIKA_MAIN/JEEVIKA_Menu/DATA
Put=*.dat
Put=*.dat.not

but am saying again in this path am getting all data but when am creating folder by date and time then some data not comming into that folder.

Regards
Dilip

Re: Problem in Sync.

Posted: May 6th, 2016, 6:23 am
by josh
Sorry but I'm stumped on this one. If they synclog.txt shows that all the files are being sent and there aren't any errors I have to think that the problem is on the Dropbox end.

Re: Problem in Sync.

Posted: May 10th, 2016, 6:50 am
by bidhu
Hi,

Please check the extension of data file. Make sure it is ".dat". FYI, this is case-sensitive.

Bidhu