The easiest way to do this might be to put the file name in the reserved urls list in webconfig.
It is under appSettings, you could add you file in there like this:
Does it actually have a ".txt" extension? I have had no issue putting text files in the website. They just work. Just put them on the file system where your website is located.
Help! Need to have a text file read directly under Domain
A marketing management tool requires this to be done TODAY!!!
I did this once, somehow, a long time ago. Don't remember how.
I was able to tell Umbraco to show the file (url management).
How can I do this? ---- I don't really need to edit inside of Umbraco!
http://mydomain.com/accesstextfile.txt
Hi Brett,
The easiest way to do this might be to put the file name in the reserved urls list in webconfig. It is under appSettings, you could add you file in there like this:
Nik
This is the solution BUT I had to remove the first few entries as they were throwing a YSOD.
Thank you Nik you saved alot of our #$$&#.
No problem, you probably had issues with the code I posted because it was from a v7 install not a v4 :-)
Does it actually have a ".txt" extension? I have had no issue putting text files in the website. They just work. Just put them on the file system where your website is located.
Yes, .txt - Trying to get Niks solution to work right now.
Bear in mind, this is version 4!
is working on a reply...