cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Save files to dropbox using the save file function

Save files to dropbox using the save file function

Electrify2015
Explorer | Level 4

Hi,

Today i saw this feature that allow a user to just click a button to save the file to the dropbox account. So i was thinking in taking advantage of this feature by creating a page were i just type the direct location on a input field and after pressing the button the file gets transfered.

I have tried diferent techniques after reading the developers documentation but without any luck. there is a problem with file location or it doesn't work.

Any comments or help this

Thanks

14 Replies 14

huasa
Explorer | Level 3

Hi,I had tried  use dropbox choose and saver successfully,but it happen some issue when I use saver to save file which  file name  or url have  chinese characters ,I console the error and I get  "Invalid host".Whether the saver could't  save the file name or url with chinese characters?

  

Greg-DB
Dropbox Staff

@huasa You should be able to use non-ASCII characters in the filename for the Saver, as long as you properly set the charset for the HTML or JavaScript file accordingly.

If the file URL's hostname contains non-ASCII characters though, convert it to punycode first and that should avoid the "Invalid host" error. If there are non-ASCII characters on the URL outside of the hostname, e.g., on the path, URL encode those first.

huasa
Explorer | Level 3

Thanks,I had solve it ,I encode url and it work.

Thank you very much!

sjmasikane
New member | Level 2
Can you share the feature that you talking about?

Greg-DB
Dropbox Staff

@sjmasikane This thread was discussing the Dropbox Saver feature. You can find information about that here

https://www.dropbox.com/developers/saver

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    sjmasikane New member | Level 2
  • User avatar
    huasa Explorer | Level 3
What do Dropbox user levels mean?