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
Unable upload data from Android into dropbox
Unable upload data from Android into dropbox
- Attachments
-
- my dropbox
- error.jpg (71.42 KiB) Viewed 3971 times
-
- Posts: 68
- Joined: August 25th, 2013, 1:21 am
Re: Unable upload data from Android into dropbox
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
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
-
- Posts: 1796
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Unable upload data from Android into dropbox
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.
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
I had the same problem with dropbox and i fixed it by writing .DAT instead of .dat in .png file.