Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Browsing hard drive file system using JSP  RSS feed

 
Shafaat Ali
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How would it be possible to design a JSP or any other catagory of java application which would enable clients to browse the hard drive file system of the web server.It is intended to be used by clients logging in to the website and gaining access to their authorized folders.The clients would be able to upload and download files to their respective folders on the remote web servers.It would be like clients gaining remote access to their folders through the web like hyperterminal.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66187
149
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out java.io.File. It'll give you a start on obtaining whatever info you need.
I'm sure you realize that you'll need to come up with security policies to prevent your clients from wreaking havoc with areas of the server that they have no busniess mucking about with.
hth,
bear
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!