jfrog / jfrog/artifactory-client-java

Question: How to download artifacts with blank spaces on the url?

Open
#253 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
331
Forks
163
Avg merge
20h 9m
Merged PRs (30d)
1

Description

I'm trying to use the artifactory.repository("RepoName")
.download("path/to/fileToDownload.txt")
.doDownload();

but the path on the download() contains blank spaces and is failing. I tried to encode it but it seems to fail. Is there any solution tot that?

thank

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue provides no file or test to start from; reproduce the Java client download() call with a repository path containing spaces, then trace how that path is handled before the request is sent. Done means the artifact downloads successfully without requiring an invalid workaround, with coverage for a path containing spaces.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.