Hello @Amol Ingale ,
So you want to have files being copied from cloud to edge.
In general, devices should only make outbound connections.
So, you cannot expose an inbound endpoint but some logic on the edge needs to be executed so it gets retrieves the file.
On the other hand, exposing a file to be downloaded from anywhere in the world without security is also not handy.
A few scenarios occur:
- a module gets a desired property as a trigger to download a file from Azure blob storage (it needs storage credentials like a sas token from a blob)
- a module gets a desired property as a trigger to download a file exposed by eg an Azure Function (again credentials need to be shared)
Because the IoT Edge device already has a secure 'channel' with the cloud it can request and exchange (temporary) secrets in many ways (sending telemetry request, direct methods, cloud messages, )
----------
If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. By doing so, all community members who have a similar issue will benefit. Your contribution is highly appreciated.