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

Download page

 
Fortune Almarinez
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I want to implement a download page where it will display a directory. Each directory is the category and directories inside it is its sub-categories. All other files are for download. When the user clicks the subdirectory all files inside that subdirectory will be listed. I'm new to this and I'm asking if you can help me how to implement this. Thanks!
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you don't need to do anything special. It's a serversetting "allow-directory-browsing" or something similar in the server configuration.
Do make sure you enable it only for specific directories and remember you're introducing one hell of a potential security risk.
 
Fortune Almarinez
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to present it in WML so I'm forwarding the request to JSP. The user has two options when he click the link either to view or download the movie clips. There is a mapped directory in the webapp.
 
Fortune Almarinez
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know if it is good design.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic