Unable upload data from Android into dropbox

Discussions about CSEntry
Post Reply
ad14n994
Posts: 1
Joined: November 16th, 2014, 11:07 am

Unable upload data from Android into dropbox

Post 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
Attachments
my dropbox
my dropbox
error.jpg (71.42 KiB) Viewed 3971 times
shafique arif
Posts: 68
Joined: August 25th, 2013, 1:21 am

Re: Unable upload data from Android into dropbox

Post 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
Gregory Martin
Posts: 1796
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Unable upload data from Android into dropbox

Post 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.
adisa
Posts: 3
Joined: September 18th, 2014, 9:28 am

Re: Unable upload data from Android into dropbox

Post by adisa »

I had the same problem with dropbox and i fixed it by writing .DAT instead of .dat in .png file.
Post Reply