ITemporaryFileService and Grabbing the Full Url of the File

,

Hi all,

I am working with the ITemporaryFileService and am wondering how to get the fully qualified url of the temp file.

The service returns you a guid and you can get the temporary file model, but how do you get the url of the temporary file. Its available for something like 24 hours but must I move it right away?

Is the only thing I have to work with the stream content of the file?

Thanks

ITemporaryFileService does not provide you a fully qualified URL. You only get the GUID and metadata, plus access to the file stream IIRC.

To expose a URL, I believe you need to build it yourself using the configured temporary file endpoint (usually /umbraco/backoffice/api/TemporaryFile/{guid}).