Upload to a central (not user's private) Dropb

2019-08-12 03:46发布

问题:

I'd like to upload files created by app users to a single pre-specified Dropbox account. Basically, this is like using Dropbox as ftp server with single login, but hopefully more secure. How can this be done? All the Dropbox tutorials show how to link to user's private account, which is not what is needed.

A non-Dropbox solution which does not require much coding would also be welcome. For example, an alternative could be to use SFTP, but there seems to be no standard stable SFTP library for Android.

回答1:

There's no way to do this securely with Dropbox. You would have to put your account's access token in the Android app, and anyone who got ahold of it could delete all the files there, upload their private DVD collection, etc. It's not safe (or allowed) to share your Dropbox credentials with others.