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

Download instructions for command line don't work #803

Open
milanmajchrak opened this issue Nov 8, 2024 · 1 comment · May be fixed by dataquest-dev/dspace-angular#739
Open

Download instructions for command line don't work #803

milanmajchrak opened this issue Nov 8, 2024 · 1 comment · May be fixed by dataquest-dev/dspace-angular#739
Assignees

Comments

@milanmajchrak
Copy link
Collaborator

milanmajchrak commented Nov 8, 2024

Original issue: ufal#1130

@Paurikova2
Copy link
Collaborator

Paurikova2 commented Nov 19, 2024

We can download a bitstream from an item via the command line using the bitstream UUID: /api/core/bitstreams/{uuid}/content,
or using the handle and file name: /bitstreams/handle/{handle}/{filename}PDT-C-1.0.zip.
But what happens when an item has more than one bitstream?

WorkflowItemRestRepository - findByItemUuid
Update: Works downloading as curl -k --remote-name-all https://dev-5.pc:8443/server/api/core/bitstreams/handle/11234/1-5419/{file_name, file_name}

Note: don't forget to use flag -k -> The -k flag in curl is used to disable SSL certificate verification. This flag allows curl to make requests to a server with an invalid or self-signed SSL certificate without throwing an error.

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

Successfully merging a pull request may close this issue.

2 participants