in reply to Using dropbox from perl

You could look at the dropbox api docs as they have a method of returning a token which you can use for auth after supplying the username/password once.