Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do I need a Dropbox app to upload files to my own Dropbox?

I want to push files from a server to my own Dropbox. I'm fine with storing an API token or even (although reluctantly) the account password on the server. I don't want to install Dropbox on the server.

Do I still need to create an app at Dropbox Developer Home? I feel like I'm cluttering the app namespace - of course I could just use a UUID. Also, I don't want the app listed anywhere or have other users be able to authorize the app to their Dropbox account.

like image 777
AndreKR Avatar asked Jan 09 '13 19:01

AndreKR


People also ask

Why do I need the Dropbox app?

With the Dropbox desktop app, you can access the files and folders stored in your Dropbox account from your computer. When you download and install the Dropbox desktop app, two things are added to your computer: The Dropbox folder in File Explorer (Windows) or Finder (Mac)

Why can't I add files to my Dropbox?

If you can't upload photos and videos to Dropbox, check how much of your space you're using. Maybe the files you're trying to upload put your account over quota. Then ensure your connection is stable and temporarily disable other cloud apps, as well as your security tools.


1 Answers

There are two ways you can programmatically interact with Dropbox:

  1. via the official API
  2. via the local filesystem on a machine where the official client is running

For 1, you do need to register an API app, but I wouldn't worry about cluttering the app namespace. There are a lot of apps that use Dropbox nowadays anyway. Just use a relatively distinct name, perhaps distinct to you specifically.

Also, Dropbox itself doesn't make anything about registered apps publicly available anywhere. You're in control of it completely.

And using the API, you don't need to store the password, just the app token and access token. (You just need to process the auth flow once to get and store the access token.)

In addition, if you only need to link to your own account, you don't even need to apply for 'production' status.

For 2, you don't need to register an API app, but you would need to install the client on the machine. Then you can just interact with the local filesystem directly, and let the client handle the rest. (Also, Dropbox doesn't work over FTP, though you may be able to hack something together where the machine pushes the file over FTP onto a machine where the client is running.)

like image 71
Greg Avatar answered Oct 17 '22 01:10

Greg