Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

Electrify2015's avatar
Electrify2015
Explorer | Level 4
9 years ago

Save files to dropbox using the save file function

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

Replies have been turned off for this discussion
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    7 years ago

    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's avatar
    huasa
    Explorer | Level 3
    7 years ago

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

    Thank you very much!

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!