MODX Community

Using Filedownload R programmically

Hi I reached an impasse when using Filedownload R with getresources or another tool to access download links. I have a grid with two files and a description for each row.

I guess I just want Filedownload R to be able to output a list of links for download. Filedownload R is optimal because it hides the real path of the download.

if I had the outputted links, then I guess I could use the tpl to add in the other information, or tvs perhaps, as I have now

Any pointers or suggestions?

What do your getResources and FileDownload R tags look like?

1 Like

Isn’t that what the &getDir parameter is for? https://docs.modx.org/current/en/extras/filedownload-r/filedownload-r.filedownload

1 Like

@markh nice thanks! that might work…will look into it!