chuck clark
Usenet Archive
- Joined
- Apr 17, 2002
- Messages
- 6
- Reaction score
- 0
Hi,
I understand that for security and other reasons that javascript does not support writing/reading to text files. I am looking for a way that will however. This is what i am trying to do. I want to develop a simple html page that is run locally on a windows 2000 box in IE. The page will have a browse button to select a source folder, either locally or a network computer on same lan. A destination folder, either locally or a network computer on same lan These two paths will be written to a text file. Then the page has two fields, A and B. Both A and B have their own 'Add' Buttons. So I would enter a number into either field A or B and hit add. Then the whole form has a Reset and Submit Button. So once I was done entering all the data into all fields, I would hit submit and create a text file from it. I made this quickly to give an idea http://www.largeprojections.com/js/page1.htm
One thing i would like to do is display all the data I have entered, so once I select the Source folder, it displays on the page. Likewise with the data in Fields A and B once I add it. So the page may look like this http://www.largeprojections.com/js/page2.htm It wouldn't have to look or behave just like this, but just a way for me to see what has been entered.
so then it creates a text file and all the values need to be separated by a comma, so the end result would be data.txt Source, F:\pictures\photos, Destination, \\Chuckwhite\c\My Shared Folder, A, 394859, 493029, 584920, 938934, 843234, 839238, 950535, 3438595, 349450, 239405, 839049, 930499, 039483, B, 304893, 930984, 930945, 948404, 340594, 483920, 849302, 483920, 849472, 138594, 039483, 585048, 9302938, 893849, 9304849, 938403, 823940, 734892, 83749, 847433,
Any help or suggestions on how to do this is appreciated, Chuck
I understand that for security and other reasons that javascript does not support writing/reading to text files. I am looking for a way that will however. This is what i am trying to do. I want to develop a simple html page that is run locally on a windows 2000 box in IE. The page will have a browse button to select a source folder, either locally or a network computer on same lan. A destination folder, either locally or a network computer on same lan These two paths will be written to a text file. Then the page has two fields, A and B. Both A and B have their own 'Add' Buttons. So I would enter a number into either field A or B and hit add. Then the whole form has a Reset and Submit Button. So once I was done entering all the data into all fields, I would hit submit and create a text file from it. I made this quickly to give an idea http://www.largeprojections.com/js/page1.htm
One thing i would like to do is display all the data I have entered, so once I select the Source folder, it displays on the page. Likewise with the data in Fields A and B once I add it. So the page may look like this http://www.largeprojections.com/js/page2.htm It wouldn't have to look or behave just like this, but just a way for me to see what has been entered.
so then it creates a text file and all the values need to be separated by a comma, so the end result would be data.txt Source, F:\pictures\photos, Destination, \\Chuckwhite\c\My Shared Folder, A, 394859, 493029, 584920, 938934, 843234, 839238, 950535, 3438595, 349450, 239405, 839049, 930499, 039483, B, 304893, 930984, 930945, 948404, 340594, 483920, 849302, 483920, 849472, 138594, 039483, 585048, 9302938, 893849, 9304849, 938403, 823940, 734892, 83749, 847433,
Any help or suggestions on how to do this is appreciated, Chuck