File manipulation in JavaScript

Giganews Newsgroups
Subject: File manipulation in JavaScript
Posted by:  … (Froggy_Jo)
Date: 24 Jul 2003

I have a split screen HTML display.  In the bottom half, I have a
series of file names with hyperlinks.  In the top half, I want to
display the file selected.  However, it seems I can only do this if
the file has a TXT extension.  If this is the case, what Javascript
could I write which would take the file, copy it to a temporary area
and rename it as a TXT file.  It should then delete the file when I
select a new file or close the window.  Sorry to ask for a solution,
but I'm not really a Java programmer.  I could do it in Fortran!!!