Downloading a zip file from a public facing website using logic app

Pothineni, A 6 Reputation points
2023-05-08T00:29:55.2666667+00:00

Hi, The logic I am building needs to download a zipfile from a public facing website. There are series of zip files in it but we need to grab the most latest zip file. Can you please help with logic here.

website is http://nemweb.com.au/Reports/Current/Dispatch_Reports/

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,933 questions
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 69,846 Reputation points
    2023-05-08T07:10:37.6533333+00:00

    @Pothineni, A Thanks for reaching out.

    Unfortunately, there are no out of box connectors that can help you. You need to write your custom code (in any language that you know), use regex or parse through HTML, or use XMLHttpRequest to get the HTML content link and get the actual zip file URL. Once your service returns the HTTP URL you can leverage the logic app Native connector to call your HTTP service that you have deployed. Once you have the response from your custom service then you can again leverage the logic app Native connector to make another call to get the zip file stream inside the logic app.

    Feel free to reach out to me if you need assistance with your logic app workflow.

    0 comments No comments