I am trying to build a simple javascript based webpage editor. So I am trying to find some Javascript scripts that will:

(A) List the files at a particular location on the web server (with filtering by extension). For example: I want to display a list of ASP, HTM, HTML, files only, as a list of links.

then

(B) When the user clicks the link for a specific file, I want to be able to load the webpage source code and dump it into a text box for editing.

then

(c) be able to let the user save the modified source back to the file.

Remember, these are files on the webserver, NOT files belonging to the user. Any ideas Javascript experts? Don't post comments please, just ideas or sample scripts. Thanks!

Paris Hilton