Announcements
Do you have an idea for Dropbox Paper? Share it with us!

Postponed Dropbox saver

Explorer | Level 3

Hi,

I want users to upload a BLOB using the Dropbox Saver. Because the Saver only supports URLs, I upload the BLOB to my server and it generates a temporary URL I can than submit to Dropbox. This means a user click on Save -> start the upload -> once successful, a callback to the Dropbox.save() API.

However, Safari does not recognise this as opening a popup from a click event and silently kills it (also, Internet Explorer 11 will first ask you permission to open the popup in the future, but this can explained to users).

I noticed while looking into the Dropbox API source code that the Dropbox.save({ files: { ... }}) does support callbacks for the URL value, but this is not yet documented. Is there any way in which I can use those to postponed uploading files to my server till after opening the popup?

Some of the files I'll want to upload are over 20 MB, so there is no guarantee that they'll be done by the time someone has selected a destination in the Dropbox save dialog.

1 Accepted solution

Accepted Solutions

Re: Postponed Dropbox saver

Dropboxer

Thanks for the detailed post. No, I'm afraid I can't offer a way to use that undocumented functionality. Any undocumented functionality like this may be in flux and subject to break or dissapear without notice. 

I'll pass this along as a feature request to officially document and support this (in addition to blob support in the first place) but I can't promise if or when that might be implemented. 

Reply
Loading...
2 Replies

Re: Postponed Dropbox saver

Dropboxer

Thanks for the detailed post. No, I'm afraid I can't offer a way to use that undocumented functionality. Any undocumented functionality like this may be in flux and subject to break or dissapear without notice. 

I'll pass this along as a feature request to officially document and support this (in addition to blob support in the first place) but I can't promise if or when that might be implemented. 

Reply
Loading...

Re: Postponed Dropbox saver

Explorer | Level 3

Thank you for your reply.

So that means for now I'll have to document how my users can disable the popup blocker in Safari. Turns out another feature suffers from this problem as well, so might be useful to add a note or two anway.

Reply
Loading...
API Support

Have a question? Our Dropbox Community is here to help you find an answer!
You won’t have to wait too long for a reply, but why not learn more about the Community while you’re here.

Not the right discussion for you? Find out what else our Community has to say about API Support.

Or, search our Help Center for even more.

Who's talking
Top contributors to this post