aspose file tools*
The moose likes JSP and the fly likes user to create folder Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "user to create folder" Watch "user to create folder" New topic
Author

user to create folder

Liana Nagari
Greenhorn

Joined: Jun 24, 2008
Posts: 2
A very interesting problem for a simple requirement and not easily
available solution:

How would I create a button which will allow the user to specify where
the file to be downloaded will be saved to??

The actual problem is that I have multiple drop down buttons (for
multiple files) with each of the drop down button containing an option
to save to a local folder. Once the user specifies the local path for
each of these files and clicks the submit button. All of the files
will be saved automatically to these locations.

I thought that this is a simple and decent requirement by the client
but I have found no solutions on the web. So JavaScript developers,
please provide some suggestions on how to access the directory path
string (which will be used to download the file).
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

"Liana npn",
Please check your private messages.
-Ben


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

You can't write to the client machine from within a web application.
This includes creating folders and downloading files.

The users' browser will allow them to control where any files that they choose to download will go. All of the popular browsers give the user the ability to create a directory from the download dialog window.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: user to create folder