Quantcast
Channel: Martin Dráb's Activities
Viewing all articles
Browse latest Browse all 17532

How to send exported file url to azure blob? And how to change it's expiry?

$
0
0

Hi,

Currently i'm exporting the entity by code to get the file Id

Then i'm getting the dowloaded url by using this

DMFDataPopulation::getAzureBlobReadUrl(fieldId)

Then i'm using this

Stream = File::UseFileFromURL(downloadUrl)

Then I'm using

CloudBlockBlob.uploadFromStream(stream,null,null,null,null)

Now instead of sending the file to blob

I want to send the url(downloadedUrl) inside a file to azure blob and not the file itself

So when i open a file, i'll see the downloaded url where i can click it to download

How to do that?

Also if u notice the url, u can find that it contains start date and and end date (st and se) and the difference is about an hour. Can i increase that? 


Viewing all articles
Browse latest Browse all 17532

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>