how to link download documents in a root folder of website
hi all, I wanted to upload some files to a folder (not media folder) in root directory of my web site and then in a umbraco page list them so visitors can download them.
I dont need to upload files in to media folder as these always shows with folder with number on it (e.g. mywebsite.com/media/11234/mysoftkit.exe)
I need to avoid media/11234 part and give human readable name
i have created folder on root directory of the web site and created c# usercontrol to list files from that and generate link like mywebsite.com/mydownloads/mysoftkit.exe but this gives page not available error
please advice how to approach this in practice....
Did you add the name of your own media folder to the web.config, in the <add key="umbracoReservedPaths"> section? Otherwise, Umbraco will try and resolve the uri to an Umbraco node.
how to link download documents in a root folder of website
hi all, I wanted to upload some files to a folder (not media folder) in root directory of my web site and then in a umbraco page list them so visitors can download them.
I dont need to upload files in to media folder as these always shows with folder with number on it (e.g. mywebsite.com/media/11234/mysoftkit.exe)
I need to avoid media/11234 part and give human readable name
i have created folder on root directory of the web site and created c# usercontrol to list files from that and generate link like mywebsite.com/mydownloads/mysoftkit.exe but this gives page not available error
please advice how to approach this in practice....
Hi pat
Did you add the name of your own media folder to the web.config, in the <add key="umbracoReservedPaths"> section? Otherwise, Umbraco will try and resolve the uri to an Umbraco node.
is working on a reply...