Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloading folder from the Catalog doesn't expand links #422

Open
Xarthisius opened this issue Jul 8, 2020 · 0 comments
Open

Downloading folder from the Catalog doesn't expand links #422

Xarthisius opened this issue Jul 8, 2020 · 0 comments

Comments

@Xarthisius
Copy link
Collaborator

When downloading a folder via GET /folder/:id/download child items are not resolved. As a result you get a zipball with a bunch of text files containing urls:

$ tree Humans\ and\ Hydrology\ at\ High\ Latitudes\ Water\ Use\ Information/
Humans and Hydrology at High Latitudes Water Use Information/
├── AK_counties_2000.xls
├── datadict2000.html
├── datadict2005.html
├── dictionary95.txt
├── estimated_use_of_water_in_US_2000.pdf
├── estimated_use_of_water_in_US_2005.pdf
├── first_nations_canada_water_and_wastewater_systems.pdf
├── readme.html
├── us85co.xls
├── us90co.xls
├── usco2000.xls
├── usco2005.xls
├── usco95.xls
├── wastewaterNWT.xls
├── withdrawal_ob_engl.xls
└── wudict.txt

0 directories, 16 files
$ cat Humans\ and\ Hydrology\ at\ High\ Latitudes\ Water\ Use\ Information/readme.html 
https://cn.dataone.org/cn/v2/resolve/urn:uuid:7f3d0f47-56db-4562-bdff-1182b78302ef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant