This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Java in General and the fly likes providing downloading functionality for a file which is on disk Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "providing downloading functionality for a file which is on disk" Watch "providing downloading functionality for a file which is on disk" New topic
Author

providing downloading functionality for a file which is on disk

Ritesh Badwaik
Greenhorn

Joined: Feb 23, 2009
Posts: 16
Hi all
Is it possible to provide a downloading functionality for a file which is on disk(not on a web server) ? i.e. Can I provide a direct link to that file ?
If yes, How to do this ?


Thanks
Ritesh


Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Not really a Java question. Assuming you are not using a web server you need to ensure the file exists in some sort of share the client can see.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Fred Hamilton
Ranch Hand

Joined: May 13, 2009
Posts: 679
Paul, the OP hasn't described the application, but is there possibly an issue here with Java applet security as well?
 
I agree. Here's the link: http://zeroturnaround.com/jrebel/download
 
subject: providing downloading functionality for a file which is on disk
 
Similar Threads
How to resolve Java's I/O Capabilities for parallel High-Performance ?
How to Return a File using Servlet
How can i download the JSP's displayed data in PDF format
Unable to upload file
Fileuploads worddocument and xls