I'm hoping this could become part of the module code after I've understood how this works.
The idea is there's a form and the site has a Dropbox account. The users attaches file then submits. It then sends it to DropBoxUploader with the 'dest' value set to the username of the current user which will upload the file to the Dropbox account in a folder named after the username.
I'm willing to write a patch but first I need a little help with where I've got to (attached). I've got the menu item and my custom form created. I've also copied the two functions at the bottom from this module. What I need help with is how to send the file from the form to DropboxUploader to process. The cherry on the icing would be to save the content of the textfields into a text file and send that along to dropbox as well.
| Comment | File | Size | Author |
|---|---|---|---|
| msuic_dropbox.txt | 3.58 KB | bjalford |
Comments
Comment #1
deviantintegral commentedIt sounds like what you would want is your own module with the custom form, menu callback and so on, but to call functions in the Dropbox module to do the actual file transfers. You shouldn't have to replicate any of that in your own code.
Except of course, the 7.x version is rather broken. So if you're going to be doing this in D7, I'm sure you'll need to (re)port things over.