I'm creating a media file (text or, preferrably xml) in a scheduled job but the created file cannot be downloaded from the media folder. The code I use to create the file:
Then in the CMS I run the job but the download option on the generated file is disabled. How can I generate the file from the scheduled job and allow editors to download the file from the media library?
I'm creating a media file (text or, preferrably xml) in a scheduled job but the created file cannot be downloaded from the media folder. The code I use to create the file:
Then in the CMS I run the job but the download option on the generated file is disabled. How can I generate the file from the scheduled job and allow editors to download the file from the media library?
Thanks,