tag:help.appveyor.com,2012-11-13:/discussions/problems/13969-cant-use-curl-to-download-artifactsAppVeyor: Discussion 2018-10-19T08:18:45Ztag:help.appveyor.com,2012-11-13:Comment/452063312018-05-01T23:22:51Z2018-05-01T23:22:51ZCan't use curl to download artifacts<div><p>Artifacts stored in Azure blob storage. This request is being redirected to temporary URL on Azure. For some reason curl is sending authorization header to URL it was redirected to. It should not be sent.</p>
<p>Simpler option is use PowerShell:<br>
<a href="https://www.appveyor.com/docs/api/samples/download-artifacts-ps/">https://www.appveyor.com/docs/api/samples/download-artifacts-ps/</a><br>
<a href="https://www.appveyor.com/docs/api/samples/download-artifacts-advanced-ps/">https://www.appveyor.com/docs/api/samples/download-artifacts-advanc...</a></p>
<p>I know some our clients did custom solution with getting second URL and sending new request to it, check this sample: <a href="https://github.com/parekhkb/DownloadLatestAppVeyorBuild/blob/master/getlatestbuild.sh">https://github.com/parekhkb/DownloadLatestAppVeyorBuild/blob/master...</a></p>
<p>Ilya.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/452063312018-05-01T23:26:17Z2018-05-01T23:26:17ZCan't use curl to download artifacts<div><p>This all needs to be done from a non-windows machine, so using PowerShell is not an option. I'll look at the second URL code, it might do what I need.</p>
<p>Thanks.</p></div>Rontag:help.appveyor.com,2012-11-13:Comment/452063312018-05-01T23:27:30Z2018-05-01T23:27:30ZCan't use curl to download artifacts<div><p>PowerShell Core is perfect option, but it is up to you.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/452063312018-05-03T21:40:29Z2018-05-03T21:40:30ZCan't use curl to download artifacts<div><p>I was facing similar problems. See if the solution mentioned in <a href="https://help.appveyor.com/discussions/questions/19858-accessing-build-artifacts-from-one-project-in-another">thread</a> helps you further.</p>
<p>Cheers Volker</p></div>Volker Enderlein