If a reviewer gets a private URL to an unpublished dataset, they may want to download multiple files from it, but the only way to do that currently seems to be through the web interface. However, the zipped download does not work for a larger total file size.
API download does not work. Even though you _can_ get the file list for the unpublished dataset through the API, downloading the files is forbidden (it seems to me, that it requires a JSESSIONID cookie).
Is there a true and tried way to download large datasets using private/preview URLs?
You should be able to use the preview URL token as an API token. Does that help?
It's quite a coincidence, because this week we finally have a production ready Globus integration that can also do exactly this :sweat_smile: . My colleague Eryk is working on making his work available on GitHub. Hopefully tomorrow or next week we can share it. We worked on improving Globus so we can use it for restricted access data and with private urls. The only thing that isn't working is anonymized private urls (the ones where the author name etc. gets redacted). I'll drop the url to the GitHub once I have it.
Philip Durbin 🚀 said:
You should be able to use the preview URL token as an API token. Does that help?
That is a good tip, thank you. I did not see it in the documentation... I already implemented a workaround by getting a JSESSIONID, but this would be cleaner.
Please feel free to open an issue to document this!
For the Globus work, Eryk just released the new version of the rdm-integration (https://github.com/libis/rdm-integration) which includes Globus working for private urls.
(we've also submitted the work for a presentation at the DCM26)
Fantastic!
Do you want it in the 6.10 release notes? :thinking:
Sure, that would be great.
Can you please ask Eryk to make a release note snippet?
Or you can, if you feel up to it. Here's how: https://guides.dataverse.org/en/6.9/developers/version-control.html#writing-a-release-note-snippet
yeah, we'll have a look.
@Péter Pallinger thanks for PR #12140! :heart: Lemme know if you need any help with it!
No, thank you, I just did not manage to finish it yesterday...
I finalized the PR after making sure make html runs. Some references had to be fixed. Also merged the current develop branch.
Yes, now the preview works: https://dataverse-guide--12140.org.readthedocs.build/en/12140/api/auth.html#using-preview-url-tokens-as-api-token
@Péter Pallinger I just left you a review.
I moved the section, you can review it again!
Merged! Thanks again!
Last updated: Apr 03 2026 at 06:08 UTC