| Author |
File Download/Create - To a user specified directory and name
|
Priyaa Vijay
Greenhorn
Joined: Mar 10, 2005
Posts: 9
|
|
Hi, I know how to show a popup dialog box for uploading a file. I write <input type="file" name="datafile" size="40"> it shows a TextField and a Browse button on clicking which I get a "Choose File" window and I navigate to the desired directory and a file. What I am looking for is the reverse. I want something like a File Save as dialog, ie the user clicks a button and we allow him to choose the directory and then in that dialog he types the filename and clicks ok. Then we go and create that file and write some contents to it. How to achieve this in html?
|
Thanks,<br />Priya
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
There is nothing to achieve that in HTML. Eric
|
 |
Priyaa Vijay
Greenhorn
Joined: Mar 10, 2005
Posts: 9
|
|
|
Thanks for the reply. I shall try to find out what is the alternate solution.
|
 |
Priyaa Vijay
Greenhorn
Joined: Mar 10, 2005
Posts: 9
|
|
Is there a way to achieve this using javascript or anything else on a Web Page? Appreciate any inputs. thanks
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
JavaScript can not access the clients computer for major security reasons, you may be able to find an activeX or applet that can do it, but I have no other solution than those ideas. Eric
|
 |
 |
|
|
subject: File Download/Create - To a user specified directory and name
|
|
|