cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

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
Highlighted

Re: Postponed Dropbox saver

Dropboxer
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. 

View solution in original post

2 Replies 2
Highlighted

Re: Postponed Dropbox saver

Dropboxer
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. 

View solution in original post

Highlighted

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.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?