Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Download files with wget
Hello gentlemen of the community.
I have a problem.
I've been using "wget" since June 2021 to download a file and since then everything has been fine.
But this morning the command does not respond and gives clues as to what may be happening.
Below is the command I use and it was working:
wget -q --no-check-certificate https://www.dropbox.com/s/4mf0awazg0z0ols/TESTE.7z -O TESTE.7z
It simply skips a line without any message.
I thank you in advance for your support.
Marcos
Hi @Marcos Paris, thanks for posting here today!
In order to isolate this further, can you clarify if you’re having any type of issue when downloading your files normally from Dropbox, without using wget?
Let me know, and we’ll take it from there.
Nancy
Community Moderator @ Dropbox
dropbox.com/support
Did this post help you? If so, give it a Like below to let us know.
Need help with something else? Ask me a question!
Find Tips & Tricks Discover more ways to use Dropbox here!
Interested in Community Groups? Click here to join!
Hi Nancy,
Thank you for contacting me and I would like to know more about my problem.
Download via browser using the link generated by dropbox. The answer is yes.
https://www.dropbox.com/s/2kpb6e3fs5wmigw/DADOS.7z?dl=0
The reason for using "wget" was to slow down user operations.
I have a batch file or *.bat that makes everything automatic.
1st download, unzip, move to the defined folder and finally delete the zipped file.
And this is the command I used normally and since last Sunday it stopped.
wget -q --no-check-certificate https://www.dropbox.com/s/2kpb6e3fs5wmigw/DADOS.7z -O DADOS.7Z
Thanks for helping me,
Marcos Paris
Thanks for sending over more details, Marcos!
I’ve moved your post to this part of the Community, as l think you’ll be better assisted here.
If you have any more details that may be helpful, feel free to add them in this thread.
Cheers.
Nancy
Community Moderator @ Dropbox
dropbox.com/support
Did this post help you? If so, give it a Like below to let us know.
Need help with something else? Ask me a question!
Find Tips & Tricks Discover more ways to use Dropbox here!
Interested in Community Groups? Click here to join!
@Marcos Paris To debug this, try running this with "-v" instead of "-q". That should enable more verbose output that should help identify the issue.
Good Greg-DB!
1) Changing the -q to -v, you have already validated the Dropbox link and located the path of the file "DADOS.7z"
2) We now know there was a 100% connection to Dropbox.
3) Here's the problem:
It asks to open the SSL certificate, but gives an alert protocol version. Unable to establish SSL connection and abort.
After that I tried removing the command "--no-check-certificate", but we have the same behavior described above.
It's a little deeper.
This was the execution response:
--2022-04-20 19:49:49-- https://www.dropbox.com/s/2kpb6e3fs5wmigw/DADOS.7z
Resolving www.dropbox.com... 162.125.5.18
Connecting to www.dropbox.com|162.125.5.18|:443... connected.
OpenSSL: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Unable to establish SSL connection.
Thank you so much for your help and let's get there!!!
Marcos Paris
Thank you very much Nancy,
There was even an interaction com @Greg-DB
To its success for circulation in 2022.
Marcos Paris
Thanks, that error indicates an issue establishing the TLS connection. Specifically, it looks like wget is attempting to use TLS 1.0, but Dropbox recently retired support for TLS 1.0 and 1.1. The Dropbox servers now only support connections using TLS 1.2. You'll need to update your app/network client/environment to use TLS 1.2 in order to make this request. For instance, you may need to refer to the documentation for 'wget'.
Hello Greg-DB,
I checked the "Wget" documentation and there I found the command that validates this Dropbox update to support connections using TLS 1.2. that you spoke.
Below is the command that resolves the connection:
wget --secure-protocol=TLSv1_2
Your help was extremely accurate and very important in solving my problem.
This is a type of occurrence that demands a much finer abstraction, and finding the solution alone would be almost impossible.
Your stance is compatible with empathy, but I think it has more to do with compassion, because it's putting yourself in the other's shoes and sharing a solution.
Thank you so much Greg-DB and may God always do justice in your life.
To its success for circulation in 2022.
Marcos Paris from Brazil
>>wget --secure-protocol=TLSv1_2
Thank you for posting this answer. It was super helpful!
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
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!