17

Manage Files Extension

On several occasions I have wanted to view/edit a file on my website but didn’t want to make a RDP/SSH connection (say for example, to edit my Robots.txt file).  To achieve this I decided to write a simple admin management page that will allow me to perform this task.  So for those people out in the web might want to use this tool I am posting it for your consumption. 

One critical point worth mentioning is that you must be running your site at Full Trust, so those using a hosting company with your website set to run at Medium Trust are out of luck, sorry…

ManageFiles

To install this page simply copy the ManageFiles.* into your ~/admin/pages folder and then update your ~/web.sitemap to include the link:

<siteMapNode url="~/admin/Pages/ManageFiles.aspx" title="Manage Files"  description=""  roles="administrators"/>

Once you done these steps you should be able to open any text file you wish.  If you run into any problems let me know and I will do what I can to help!

Add comment


 

biuquote
  • Comment
  • Preview
Loading



Credits

  • DSCODUC on Technorati
  • SpamPoison
  • Project Honey Pot
  • CCA Share Alike 3.0
  • 1and1 Hosting