File upload to Dropbox
This article show how to configure ASPRunnerPro to upload files to Dropbox cloud storage.
Configuration
Proceed to https://www.dropbox.com/developers.
App console -> Create App. After application is created copy App key and App secret to the corresponding fields in ASPRunnerPro
Add Redirect URIs. For local testing use:
For production use:
Then proceed to the Permissions tab in the Dropbox App Console and add the following permissions:
file.contents.read
file.contents.write
Important note
After the project is built and published, open it in the web browser and proceed to any page of a table where cloud storage is used. You will be redirected to Dropbox's site to log in.Log in under the account that should be used to store the files. Then the application will save the credentials, and no further login will be needed.
The credentials are saved in \templates_c\dropbox. file. If you need to change the Dropbox configuration and start storing files under a different account, delete that file, then close all browser windows to clear the session. Open any page where cloud storage is used in the browser again and log in to Dropbox using your new account.