Mohammad Adib Mohammad Adib - 1 month ago 18
Java Question

Java: Upload files to dropbox

So i have a simple problem and am looking for a few pointers to a simple solution. I have a java app that must upload a file to dropbox. It will know the username and password of the dropbox account to upload to by default. All i need now is some way to put a file on my computer in any directory on to the dropbox in any directory of the dropbox. I've downloaded the dropbox API for java but am completely lost as to what to do with it. Can somebody please hand me the rod and point me the right way as to how to upload files to dropbox using java and preferably the dropbox API (and i think thats the only way to...is to use the dropbox java api). Thanks a bunch.

Answer

I found this: Using Dropbox Java API for uploading files to dropbox

It appears to have some code written for that api.