I have been reading about options to use Dropbox as your upload folder and moving files to Dropbox from your server to put them in the cloud this way.
What I need is a plugin or script to move images from a Dropbox folder to my WordPress' server. This would save me a lot of time as the server is in Europe and I am now located in Asia. There are no such available plugins to my knowledge so one will have to be created.
I have found a script I am trying to work with to make this possible. It is one made by Fabi to download and upload files from a Dropbox account to your webserver.
I am just not sure yet on the approach I should go for. I could create a plugin options page where you can enter Dropbox data and allow the upload to happen I guess. Never have gone this far in my development though. This will be my first plugin so tips would be welcome.
Second is the Dropbox API. It seems I will have to create a Dropbox app here https://www.dropbox.com/developers/apps as well to make the plugin work with Dropbox using OAuth.
Other option would be to run the script as is form the server perhaps and make the necessary adjustments using the sample.php file, but the former idea seems cooler.
Is there anybody who has worked with the Dropbox api and plugins a lot who could give me some tips or who perhaps has snippets that could be of use? Thanks in advance.
Will see what I can achieve in the days ahead and leave updates when I can.