简体   繁体   中英

Download dynamically generated file using Azure Datafactory

I am trying to download a file from a URL.

https://example.com/report_view.php?reportcode=59281&action=exportcsv&casino=2210&reportby=daily&datetype=1

The above URL generates a report.csv file everytime it is hit. The URL when run in a regular browser downloads a file. Nothing loads in the window.

I am trying to download the file using Copy Activity in Azure data factory.

Source: HTTP request >> Delimited Text

Sink: Azure Blob Storage.

But the copy activity is failing to download the file.

How to ensure that the file get's in the blob storage?

I tested in the copy activity and it works for me.

Source Dataset,Http Request:

在此处输入图片说明

Sink Dataset,Azure Blob Storage:

在此处输入图片说明

Result,never set any file name,so it generates random file name:

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM