I have a self-hosted Nexus on Windows server and I want to do something as follows:
I uploaded a file, the_file.zip
to a custom (file) blob, so-called the_blob
, that links to the raw (hosted) repository, the_repo
. Here is the result
I come the API Search and download asset: /v1/search/assets/download
, with the curl configuration as follow
curl -X 'GET' \
'http://localhost:8081/service/rest/v1/search/assets/download?repository=the_repo' \
-H 'accept: application/json' \
-H 'NX-ANTI-CSRF-TOKEN: 0.8617832718141006' \
-H 'X-Nexus-UI: true'
Unfortunately, I got the error as follows:
What can I try next?
This is because of the invalid directory name, i.e. /C:/Users/foo/Downloads
.
Please use some "normal" directory name, for example, the_directory_name
, or semantic version like 1.2.3