Any way to download from M-Files via https?

I'm trying to download from M-FIles with Powershell script. Reason I'm looking for https solution is that I need to get same data to multiple MF Servers regulary.

I use this style:

Invoke-WebRequest -Uri $source -OutFile $destination

Is there any link available that would download the actual file?

https://site.com/SharedLinks.aspx?

- Takes to download-page

https://site.com/link.ashx?Action=Download

- Authentication fails = Needs authentication

https://site.com/REST/objects/n/n/-1/content/

- Needs authentication. Is there a way pass those in a link like this?

Cheers

PJ @ doc

Parents Reply Children
No Data