I have been able to get the command somewhat working, but the returned .zip file is corrupted. When I use curl, the zip file is fine, so Powershell is doing something on me.
Invoke-RestMethod -Method GET -Uri "http://${server}:8081/artifactory/components-local/product/module/version/MyComponent.zip" | Out-File -FilePath ".\MyComponent.zip" -- View this message in context: http://forums.jfrog.org/Using-Artifactory-REST-API-s-from-Powershell-tp7580165p7580166.html Sent from the Artifactory - Users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
