Hi,
On onpremise vault you can download file like this:
Set oFile = oHistory(1).Files.Item(1) szTempPath = "C:\Temp\" + oFile.GetNameForFileSystem()
What is the equivalent for Cloud?
Cheers
Petteri
Hi,
On onpremise vault you can download file like this:
Set oFile = oHistory(1).Files.Item(1) szTempPath = "C:\Temp\" + oFile.GetNameForFileSystem()
What is the equivalent for Cloud?
Cheers
Petteri
In addition to Craig’s comments, please note that the file system in M-Files Cloud is transient and intended solely for short-lived temporary files. When working with the Vault Application Framework, the SysUtils helper class can be used to manage these temporary files.
Further details on these points are available in the cloud checklist on the Developer Portal.
There are some additional helper classes in the COM API Extensions library (which is also included if you use the VAF Extensions): COMAPI.Extensions.Community/MFilesAPI.Extensions/Files/Downloading/FileDownloadLocation.cs at master · M-Files/COMAPI.Extensions.Community
There are some additional helper classes in the COM API Extensions library (which is also included if you use the VAF Extensions): COMAPI.Extensions.Community/MFilesAPI.Extensions/Files/Downloading/FileDownloadLocation.cs at master · M-Files/COMAPI.Extensions.Community
© 2025 M-Files, All Rights Reserved.