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 #1130

Open
kosarko opened this issue Nov 7, 2024 · 1 comment
Open

Download instructions for command line don't work #1130

kosarko opened this issue Nov 7, 2024 · 1 comment

Comments

@kosarko
Copy link
Member

kosarko commented Nov 7, 2024

download instructions for command line don't work

image

~/Downloads$> curl --remote-name-all https://dspace-dev.ufal.mff.cuni.cz/repository/server/api/core/bitstreams/handle/11234/1-3185/{PDT-C-1.0.zip}
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   193    0   193    0     0   1484      0 --:--:-- --:--:-- --:--:--  1484
okosarko@LAPTOP-6ROFNDP4:~/Downloads$> file PDT-C-1.0.zip
PDT-C-1.0.zip: JSON data
okosarko@LAPTOP-6ROFNDP4:~/Downloads$> cat PDT-C-1.0.zip
{"timestamp":"2024-11-07T11:15:13.966+00:00","status":404,"error":"Not Found","message":"No message available","path":"/repository/server/api/core/bitstreams/handle/11234/1-3185/PDT-C-1.0.zip"}
@kosarko
Copy link
Member Author

kosarko commented Nov 7, 2024

@milanmajchrak Normally files are downloaded from .../api/core/bitstreams/<uuid>/content have you added some sort of endpoint to handle bitstreams/handle/11234/1-3185/PDT-C-1.0.zip?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant