I've been helping a user who found that restricting a fle caused the download linke to no longer be displayed. Changing back to public did not return the link to the display. I can show her how to manually construct a link but is there a way to get this to display again. Thanks.
Huh. Can you please link to the dataset?
And did you republish?
I did republish. <https://doi.org/10.25346/S6/7YBSJK> is out test dataset.
I can show the user how to manually set up a download link for the WashU Genome Browser but still wanted to see if it is possible to get the lank back in the file display.
How this came up is I was helping her setup files (in Dataverse) to be displayed in theWashU Genome Browser. The PI wasn't sure if she wanted the files to be public on Dataverse but I'm not sure it's possible to be linked to the Genome Browser without being public.
Huh. Could I trouble you to try to reproduce this on https://demo.dataverse.org ?
Also, these files have a popup when you try to download. Terms. That's probably why the "Download URL" isn't shown.
"Certain files do not provide Download URLs for technical reasons: those that are restricted, have terms of use associated with them, or are part of a Dataverse collection with a guestbook enabled." -- https://guides.dataverse.org/en/5.14/user/find-use-data.html#downloading-via-url
I just published this on the demo: https://doi.org/10.70122/FK2/NCTOFS
Looks like restricting the file removes the download link display but I do know how to manually make a download like.
Yes, the Download URL shows at https://demo.dataverse.org/file.xhtml?persistentId=doi:10.70122/FK2/NCTOFS/4L3UVL
No popup when you try to download the file. That's the difference.
What if you get rid of this popup?
Screenshot 2024-09-26 at 3.09.07PM.png
yes, get a pop-up if restricted.
Right, but you can also get a popup if there are terms of use to agree to before downloading.
Maybe a "bug" (but I like it....), but something that "works" for files that have different terms of use (not CC-0) but are not "restricted", if you know the fileID, you can download the file.
This dataset in demo....  
https://demo.dataverse.org/dataset.xhtml?persistentId=doi:10.70122/FK2/92XEEU
I have the terms CC-BY. No file URL shows up in UI, but if I know the fileid, I can use that ID to download the file.
Using this command:
curl https://demo.dataverse.org/api/datasets/:persistentId/?persistentId=doi:10.70122/FK2/92XEEU
and then getting a fileID from the above output - this command downloads the file.
wget https://demo.dataverse.org/api/access/datafile/2357504
@Sherry Lake yes, that's this bug: File API download bypasses terms of use and guestbook #2911
@Alejandra Tenorio has been trying to fix it (but needs a "go ahead" from the core team). Please see her post and #community > No Restricted Files / Access conditions .
But then these CC-By files will not be able to be downloaded via API? Only the UI?
Then there must be another way - popup, or notice via command line? to download them via API?
And... am now reading the issue... should have done that first.
No worries. Please ask over in #community > No Restricted Files / Access conditions
Last updated: Oct 30 2025 at 06:21 UTC