How to download a file from zenodo link without leaving terminal?
1
0
Entering edit mode
5 months ago
SlowSD • 0

Hii,

I have a zenodo link. This link is fully functional and upon pasting in the url space, file is correctly downloaded in the usual c://user/download directory.

However, I wish to download the file in the current working directory and don't wish to leave unix terminal. I thought an easy would be to append wget or curl command in front of the link as shown below.

wget https://zenodo.org/records/11791175/files/SRR396636.sra_1.fastq

or

curl https://zenodo.org/records/11791175/files/SRR396636.sra_1.fastq

Unfortunately, this causes download of the html file with the name of SRR396636.sra_1.fastq. While the original file is of 600mb, the file downloaded using the wget or curl command is in 2-5kb size range.

Kindly suggest possible method.

Thank you in advance.

axel linux curl wget • 1.4k views
ADD COMMENT
0
Entering edit mode

Could you try wget -L -O SRR396636.sra_1.fastq "https://zenodo.org/record/11791175/files/SRR396636.sra_1.fastq"

ADD REPLY
0
Entering edit mode

Still, a 6kb html file gets downloaded in the name of SRR396636.sra_1.fastq

ADD REPLY
0
Entering edit mode

https://zenodo.org/records/11791175

The record is publicly accessible, but files are restricted to users with access.

so, no.

ADD REPLY
0
Entering edit mode

Okay, are you aware of any file access setting in zenodo by changing which this can work out?

ADD REPLY
0
Entering edit mode

You have tried to log in with one of the methods mentioned (ORCID/GitHub or a local Zenodo account) and that did not work?

ADD REPLY
0
Entering edit mode

Sorry, I'm not able to understand your answer. Could you try again?

I am repeating my query again, I have uploaded the file to my zenodo account, and I wish to make it available to download without leaving the terminal. The link works fine if pasted in url space.

Thanks.

ADD REPLY
0
Entering edit mode

What does the tag axel mean?

ADD REPLY
0
Entering edit mode

From my little understanding, axel works like wget and curl to download the files. However, it accelerates the downloading by some means. I used in this question to describe that axel is also not helpful for me.

Hope I answered your question.

ADD REPLY
0
Entering edit mode

Yes, thank you.

ADD REPLY
1
Entering edit mode
5 months ago
GenoMax 148k

Hmm. So you are the owner of the uploaded data? Guess you need to change something to make the set public/unrestricted

cls

ADD COMMENT
0
Entering edit mode

Hii,

I am thankful to you for bringing this nicely. It was a mistake from my end as I am new to zenodo. I have fixed the access settings. The link is working fine, and files now can be downloaded using the wget/curl commands.

Thank you for helping.

ADD REPLY

Login before adding your answer.

Traffic: 1426 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6