aspose file tools*
The moose likes Servlets and the fly likes how to save the file in clint side in temp folder Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to save the file in clint side in temp folder" Watch "how to save the file in clint side in temp folder" New topic
Author

how to save the file in clint side in temp folder

Shyam Hai
Ranch Hand

Joined: Feb 04, 2009
Posts: 68

hi,

I want do download the file from server and save in client side in temp folder.

I want to store the file without knowing the user.

Now i am using this code.


When i use this code in servlet.
its working fine but its ask location for store the file.

But i want to save the file in Temp foler without knowing user.
please help me.
how can i do.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

You can't.

And it's a good thing, because if somebody's web site started writing files all over my disk without me knowing I'd be pretty angry.

You might be able to do something with an applet.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to save the file in clint side in temp folder
 
Similar Threads
open a .exe in java (DLL Problem)
opening an excel file through Java
How to download a file from the server to the client machine?
Handling menu events
Download a file from Server to client machine