Page 1 of 1

Unable upload data from Android into dropbox

Posted: November 16th, 2014, 11:19 am
by ad14n994
Hi, i have a problem here. I already have my application ran into android with dropbox. But if i want to upload data that collected into dropbox, i always failed. I followed http://www.csprousers.org/help/html/dat ... zation.htm and i used example 3. It succeeded created new folder data but the data failed to upload,there was nothing. Here my PNC for upload data

[SyncFile]
Version=CSPro 6.0
AppName=dataentri

[Server]
Type=Dropbox

[Sync]
CreateServerPath=/%AppName%/Data
CreateServerPath=/%AppName%/Data/%UID%
CreateServerPath=/%AppName%/Data/%UID%/%Date%
ServerPath=/%AppName%/Data/%UID%/%Date%

ClientPath=/%AppName%

Put=HasilEntri.dat
Put=HasilEntri.dat.not

i can't find HasilEntri.dat in folder /dataentri/Data/adiangga/20141116. Please help me. Here i attached ss from my dropbox

Re: Unable upload data from Android into dropbox

Posted: November 17th, 2014, 12:59 am
by shafique arif
I think (based on very little knowledge), your ".PNC" does not create ClientPath=/%AppName%.

In your .PNC 'ClientPath' (where your data reside) is missing. For example, on your Android tablet, if data reside in

........\csentry\Data file

Then your client path should be as follow:

ClientPath=/Data file

Hope this will help

Re: Unable upload data from Android into dropbox

Posted: November 18th, 2014, 1:05 pm
by Gregory Martin
Continuing with what shafique arif said, where is your data located on the Android device? Based on this code:

ClientPath=/%AppName%
Put=HasilEntri.dat
Put=HasilEntri.dat.not

CSEntry is expecting to find the data files here:

<SD Card>/csentry/dataentri/HasilEntri.dat
<SD Card>/csentry/dataentri/HasilEntri.dat.not

If that isn't correct, then you'll have to make sure that, using ClientPath, you are moving into the correct folder before trying to upload your data.

Re: Unable upload data from Android into dropbox

Posted: November 20th, 2014, 2:24 am
by adisa
I had the same problem with dropbox and i fixed it by writing .DAT instead of .dat in .png file.