Appears that downloading from a subfolder on the server for an artifact doesn't work, possibly due to the SavePath being reused for both local and remote paths, and WebClient doesn't appear to like it.
I was trying to use SavePath = 'target/mavenbuilt.zip' and I keep getting a WebClient exception.
I'll keep playing around, but this slowed me down a bit, I'll probably end up having to download all artifacts as a zip and then extract to find the one I want if they are in subfolders.
Appears that downloading from a subfolder on the server for an artifact doesn't work, possibly due to the
SavePathbeing reused for both local and remote paths, and WebClient doesn't appear to like it.I was trying to use
SavePath = 'target/mavenbuilt.zip'and I keep getting a WebClient exception.I'll keep playing around, but this slowed me down a bit, I'll probably end up having to download all artifacts as a zip and then extract to find the one I want if they are in subfolders.