Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Access the clients temp folder.

 
ajay dv
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to access the path of the clients temporary directory, i've tried this but it just appears to display the servers temporary directory.


 
Richard Tookey
Bartender
Posts: 1166
17
Java Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ajay dv wrote:I'm trying to access the path of the clients temporary directory, i've tried this but it just appears to display the servers temporary directory.




JSP execute on the server so you can't in any straightforwards manner get hold of the client's tmp directory from within your JSP. And why would you want to be able to do that since your JSP can never directly access that directory.
 
Tim Holloway
Saloon Keeper
Posts: 18303
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's a technical name for web applications that attempt to write (or read) a user's local files. Malware.

Web clients are designed to only permit local file access via the explicit manual direction of the client's operator.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic