How to copy today's date file from server hosted on WebDAV protocol using HTTP connection in Azure Data Factory?

Deepak Shiv 0 Reputation points
2024-03-04T11:29:18.7+00:00

There are list of files placed on server which is based on WebDAV protocol. I want to copy today's date file into Azure blob storage using copy activity. For example if today's date is 01-Mar-2024 i.e. 20240301, below highlighted file should image

So for achieving this I created HTTP connection and in relative url path I gave filename path with wildcard characters as @concat('src/order/orderExport-Invoice-',formatDateTime(utcnow(), 'yyyyddMM'),'*.xml')'

User's image

But HTTP connection unable to recognize wildcard characters and unable to convert into actual filename, getting below error:

User's image

Is there any way through which we can dynamically copy the file for today's date from server(WebDAV) using HTTP connection or other method?

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,624 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.