Closed mikeharder closed 5 years ago
Would be a great marketplace extension (and easy to implement). Want to give it a shot?
I can help you through it if you want to ;)
Thanks for the offer, but we would prefer to use the Python script unless a built-in task is available.
@bryanmacfarlane I would be up to give it a try. Could you give me a head start on where to look at?
Here's a step by step on creating a task:
https://github.com/Microsoft/azure-pipelines-task-lib/blob/master/node/README.md
We might want to add get to stream similar to:
https://github.com/Microsoft/typed-rest-client/blob/master/lib/HttpClient.ts#L174
See here:
https://github.com/Microsoft/vsts-task-tool-lib/blob/master/tool.ts#L223
Did a "Download" Task (directly or via Marketplace) get implemented by someone? Also looking for this.
@bryanmacfarlane since this is closed, is there any updates on the (potential) Download task?
Any update on having a Download task OOTB ?
I came here looking for the same thing. After some searching, I found it here:
https://marketplace.visualstudio.com/items?itemName=Fizcko.azure-devops-download-a-file
Not sure if this is the same work done here.
Sorry, but could someone please explain why there is an FTP-upload task and there isn't an FTP-download task? Why is this so, perhaps I am missing some reason?
You can write a quick PowerShell task for this using the Invoke-WebRequest commandlet.
Invoke-WebRequest https://example/file.txt -OutFile C:\file.txt
DownloadFile@1
seems to work?!
DownloadFile@1
seems to work?!
Could you please provide the link to the Task description of DownloadFile@1
?
I can see just DownloadSecureFile@1
https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/download-secure-file-v1
Please consider adding a task to download a file from a URL. I saw similar tasks like
DownloadBuildArtifacts
andDownloadPackage
, but nothing to download a file from a URL. The best cross-platform solution I've found so far is a python script:But I'd rather use a specific task like: