Synchronization complete but unable to find data on dropbox
-
- Posts: 63
- Joined: May 15th, 2018, 1:18 am
Synchronization complete but unable to find data on dropbox
Dear CSPro Team,
I have attached a application having issue in data uploading to the dropbox.
Synchronization complete but can't find data on dropbox.
Please help to resolve it.
I have attached a application having issue in data uploading to the dropbox.
Synchronization complete but can't find data on dropbox.
Please help to resolve it.
- Attachments
-
- IRS_Monitoring.rar
- (623.63 KiB) Downloaded 211 times
Re: Synchronization complete but unable to find data on dropbox
Dear Sir,
Maybe the data went to a different Dropbox account created/used previously . Could you try to clear credentials by just going to Cspro --> files --> Cspro Settings and choose clear credentials and try to sync again .
Maybe the data went to a different Dropbox account created/used previously . Could you try to clear credentials by just going to Cspro --> files --> Cspro Settings and choose clear credentials and try to sync again .
-
- Posts: 63
- Joined: May 15th, 2018, 1:18 am
Re: Synchronization complete but unable to find data on dropbox
Dear etuser;
Here my concern is that when I start Menu program(IRS_Monitoring) it asks for password for csdbe file. If I drop that dictionary file then it will not sync the data.
I want to sync the data to dropbox without asking password to the entry file.
Here my concern is that when I start Menu program(IRS_Monitoring) it asks for password for csdbe file. If I drop that dictionary file then it will not sync the data.
I want to sync the data to dropbox without asking password to the entry file.
-
- Posts: 63
- Joined: May 15th, 2018, 1:18 am
Re: Synchronization complete but unable to find data on dropbox
Dear etuser,
When I drop dcf file from the Menu program then it shows an error attached here.
But when i add dcf file then it asks for password.
When I drop dcf file from the Menu program then it shows an error attached here.
But when i add dcf file then it asks for password.
- Attachments
-
- error in sync.docx
- (109.77 KiB) Downloaded 192 times
Re: Synchronization complete but unable to find data on dropbox
The dictionary is required. Since you're using an encrypted data file you can specify a connection string to avoid being prompted for the password.
https://www.csprousers.org/help/CSPro/e ... _data.html
https://www.csprousers.org/help/CSPro/e ... _data.html
-
- Posts: 63
- Joined: May 15th, 2018, 1:18 am
Re: Synchronization complete but unable to find data on dropbox
Dear aaronw,
Thanks for your reply but it has one problem when we see pff file in notepad then we can see the password.
My concern is how to avoid password to be seen by others.
Thanks.
Thanks for your reply but it has one problem when we see pff file in notepad then we can see the password.
My concern is how to avoid password to be seen by others.
Thanks.
Re: Synchronization complete but unable to find data on dropbox
The enumerator conducts the interview and collects the sensitive information. To an extent they have to be considered trusted. They need to either enter the password or their device needs to contain the password.
You could programmatically set the connection string, so at the least it is not stored in plain text:
You could programmatically set the connection string, so at the least it is not stored in plain text:
setfile(SURVEY_DICT, "../Survey/Survey.csdbe|password=temp1234");
Now the password is stored in the PEN and not the PFF (plain text). The PEN is not secure, so we suggest you use Android's full-disk encryption in the case the device is lost or stolen.Re: Synchronization complete but unable to find data on dropbox
Dear aaronw,
I tried the setfile method but the syncdata generates error [ ERROR(GLOBAL, 24): Invalid second argument to syncdata, must be a dictionary ].
I specified like this: syncdata(PUT,setfile(IRS_HTH_DICT,""));
So how to specify the setfile variable to syncdata() function. syncdata function expects only attached dictionary.
Parth
I tried the setfile method but the syncdata generates error [ ERROR(GLOBAL, 24): Invalid second argument to syncdata, must be a dictionary ].
I specified like this: syncdata(PUT,setfile(IRS_HTH_DICT,""));
So how to specify the setfile variable to syncdata() function. syncdata function expects only attached dictionary.
Parth
Re: Synchronization complete but unable to find data on dropbox
Call setfile first to link the file to the dictionary. This opens the data file and associates with the dictionary for any future calls syncdata, loadcase or other CSPro functions that access a dictionary. Make sure to pass the data file name and password to setfile.
Then on the next line call syncdata and give it the name of the dictionary.
setfile(IRS_HTH_DICT, "mydatafile.csdbe|password=temp1234");
syncdata(PUT,IRS_HTH_DICT);
Then on the next line call syncdata and give it the name of the dictionary.
setfile(IRS_HTH_DICT, "mydatafile.csdbe|password=temp1234");
syncdata(PUT,IRS_HTH_DICT);
Re: Synchronization complete but unable to find data on dropbox
Dear Josh,
Many thanks for the reply.
I have attempted to do as per your suggestions:
if syncconnect(Dropbox) then
setfile(IRS_HTH_DICT,"./IRS_HTH/IRS_HTH.csdbe|password=indica123@");
syncdata(PUT,IRS_HTH_DICT);
errmsg("Data Uploaded Successfully...");
endif;
But it generates the error as below:
ERROR(syncFileServer, 22): 'IRS_HTH_DICT' is not a declared variable or is a misspelled dictionary entry
Kindly advise
Parth Saha
Many thanks for the reply.
I have attempted to do as per your suggestions:
if syncconnect(Dropbox) then
setfile(IRS_HTH_DICT,"./IRS_HTH/IRS_HTH.csdbe|password=indica123@");
syncdata(PUT,IRS_HTH_DICT);
errmsg("Data Uploaded Successfully...");
endif;
But it generates the error as below:
ERROR(syncFileServer, 22): 'IRS_HTH_DICT' is not a declared variable or is a misspelled dictionary entry
Kindly advise
Parth Saha