Question

Cannot download file from dropbox

I have created a droplet an I need to upload ssh public key to ~/.ssh I am using wget or curl command in chrome console.

curl "https://www.dropbox.com...."

I have the following error

curl: (6) could not resolve host dl.dropbox.com
Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello, @agenlebout

I hope this was sorted quickly on your end. I know it’s being a while since you’ve posted this, but I would like to share some useful information about the issue.

If you’re experiencing this issue from your droplet, e.g you’ve installed a Xfce desktop environment on your droplet:

https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-18-04

You can check if you’re able to reach other resources/sites without any issues and if the issue is only with reaching the host: dl.dropbox.com

If the you’re unable to reach other sites as well then you can check if the networking service on the droplet is working properly as you might experience some intermittent issues.

Also since this is Dropbox, you can check if they’re experiencing any issues at the moment as well. This will be the most likely reason for the issue that you’re experiencing.

Regards, Alex