Dropbox upload example

Hi Michael,

As you requested, I’ve put together a small example (attached) of how to upload to Dropbox from an MWorks experiment. I’ve tested in on both macOS and iOS.

The example uses a Python file resource to establish a connection to Dropbox and define an upload function. After every 10 trials, it uses a run_python_string action to invoke the upload function, which pushes an updated results file to Dropbox.

The results file is very simple: just plain text with a few numbers. Obviously, you could make it as complex as you want, upload multiple files, etc.

If you have any questions, please let me know.

Chris

Attachment: dropbox_upload.zip (3.07 MB)

Thank you Chris! I didn’t see this email because it was placed into my Junk folder automatically.

Sorry about that. Maybe the big ZIP file made it look like spam?

Did you get the other message I sent to you recently?

Chris

I did not. It might be the email address(es) you are using. I’ll add this one to the whitelist.

It might be the email address(es) you are using. I’ll add this one to the whitelist.

Every discussion has a different associated email address. You’ll need to whitelist the whole tenderapp.com domain.