We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
IndyDev
3 years agoNew member | Level 2
Downloading file via wget with --spider no longer working
Hello, recently, I've noticed that I can no longer use wget with the --spider flag to download dropbox files. This has been working for the past couple of years for me, but seems to no longer work. I...
Здравко
3 years agoLegendary | Level 20
Hi IndyDev,
Your link can get checked with wget (as always):
$ wget https://www.dropbox.com/s/kwguigqasfct9um/bp14-f-24x36-a.jpg\?dl\=1 --spider Spider mode enabled. Check if remote file exists. --2023-04-18 01:01:09-- https://www.dropbox.com/s/kwguigqasfct9um/bp14-f-24x36-a.jpg?dl=1 Преобразувам www.dropbox.com (www.dropbox.com)... 162.125.69.18, 2620:100:6025:18::a27d:4512 Свързване към www.dropbox.com (www.dropbox.com)|162.125.69.18|:443... успешно свързване. HTTP изпратено искане, чакам отговор... 302 Found Адрес: /s/dl/kwguigqasfct9um/bp14-f-24x36-a.jpg [следва] Spider mode enabled. Check if remote file exists. --2023-04-18 01:01:10-- https://www.dropbox.com/s/dl/kwguigqasfct9um/bp14-f-24x36-a.jpg Свързване към www.dropbox.com (www.dropbox.com)|162.125.69.18|:443... успешно свързване. HTTP изпратено искане, чакам отговор... 302 Found Адрес: https://uc8b71308459522cc886bf8221c2.dl.dropboxusercontent.com/cd/0/get/B6ajKtB-LpAb1rSByNeN5gIATpdhLE334n2eZNa7W8YVTPaeQth3ia1D6k863y2JoqMy1Aue1DfxTQmK0Y_AxKC_mcGZQ9EPIhzcOIrKugVUiaXYO4Ss-7xvTCzLQT6vbXDASUWZhelSoSY2YbKEGCnb93cqzgsvEQPigJ8uQvDpZw/file?dl=1# [следва] Spider mode enabled. Check if remote file exists. --2023-04-18 01:01:11-- https://uc8b71308459522cc886bf8221c2.dl.dropboxusercontent.com/cd/0/get/B6ajKtB-LpAb1rSByNeN5gIATpdhLE334n2eZNa7W8YVTPaeQth3ia1D6k863y2JoqMy1Aue1DfxTQmK0Y_AxKC_mcGZQ9EPIhzcOIrKugVUiaXYO4Ss-7xvTCzLQT6vbXDASUWZhelSoSY2YbKEGCnb93cqzgsvEQPigJ8uQvDpZw/file?dl=1 Преобразувам uc8b71308459522cc886bf8221c2.dl.dropboxusercontent.com (uc8b71308459522cc886bf8221c2.dl.dropboxusercontent.com)... 162.125.69.15, 2620:100:6025:15::a27d:450f Свързване към uc8b71308459522cc886bf8221c2.dl.dropboxusercontent.com (uc8b71308459522cc886bf8221c2.dl.dropboxusercontent.com)|162.125.69.15|:443... успешно свързване. HTTP изпратено искане, чакам отговор... 200 OK Дължина: 69222373 (66M) [application/json] Отдалечения файл съществува.
The last line states: Remote file exists.
The same is when launched without backslashes. Check what's going on with your environment.
Good luck.
- IndyDev3 years agoNew member | Level 2
It seems that I am getting inconsistent results, if I run the command multiple times in a row, sometimes it will say "Remote file exists" and other times it will say "Remote file does not exist -- broken link!!!". Checked with a colleague who is running a different environment, and getting the same results. Not sure if something changed with the API or not. In addition, I see an error that says:
HTTP/1.1 405 Method Not Allowed
- Здравко3 years agoLegendary | Level 20
Hi again IndyDev,
Hmm.. 🤔 Yes, I can see your issue (after some number of repetitions). It's nothing related to API; that's rather core Dropbox feature that seems unstable for some reason. Let's hope this will be fixed soon. I can see some scheduled maintenance; 🤷 let's see tomorrow.
Good luck, to all of us.
About 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!