Creating Sync pff by script

Discussions about syncing data via Bluetooth, Dropbox, FTP, and using CSWeb
Forum rules
New release: CSPro 8.0
Post Reply
sah
Posts: 97
Joined: May 28th, 2015, 3:16 pm

Creating Sync pff by script

Post by sah »

Dear Team,
Is there any way to add the dropbox account name and password to the script below so this can be sent to other person to be able to access the data viewer tool by sync without providing ftp or dropbox detail to the third party:

Code: Select all

[Run Information]
Version=CSPro 7.1
AppType=Sync

[Files]

[ExternalFiles]
TEST_DICT=..\TEST.csdb|CSPRODB

[Parameters]
ViewListing=Always
ViewResults=Yes
SyncType=Dropbox
SyncDirection=Get
SyncUrl=
Silent=No
Thanks,
Sah
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Creating Sync pff by script

Post by josh »

The way the Dropbox service works makes it impossible to send the email and password to Dropbox directly from a program. For security reasons they force you to bring up their web page to login. In CSPro when you login to Dropbox we are actually showing the Dropbox webpage inside a window. That means that there is no way to put the password inside a pff.

Once you log into Dropbox the first time from CSPro then the login is saved and you don't need to login again on the same computer. So if you login once on the computers or tablets using the password then you can distribute to people who can use them to sync without knowing the password.
Post Reply