简体   繁体   中英

Save JSON file on Dropbox with Javascript

Is there any option to save JSON file after it is created/encode from PHP on Dropbox, with Javascript, jQuery or something else? Can you give any hints?

If you have access to the server where php generates your json, you can install dropbox there using this http://www.dropboxwiki.com/tips-and-tricks/install-dropbox-in-an-entirely-text-based-linux-environment tutorial. after this you can use dropbox cli api from this tutorial http://www.dropboxwiki.com/tips-and-tricks/using-the-official-dropbox-command-line-interface-cli to determine if it is running and run if it is not (you can use php exec function for this). after this just copy (using php copy function) the file which contains json to your dropbox folder

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM