Please enable JavaScript to view this site.

Navigation: Using PHPRunner > Page Designer > "Edit as" settings > File/Image > Upload to clould providers

Dropbox

Scroll Prev Next More

File upload to Dropbox

 

This article show how to configure PHPRunner 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 PHPRunner

 

Add Redirect URIs. For local testing use:

 

http://localhost:8086/oauthcallback.php

For production use:

 

https://server.com/path/oauthcallback.php  

 

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.php 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.

Created with Help+Manual 7 and styled with Premium Pack Version 3 © by EC Software