Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to save the file in clint side in temp folder  RSS feed

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
 
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 didn't do it. You can't prove it. Nobody saw me. The sheep are lying! This tiny ad is my witness!
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!