This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes how to download stuff from remote machine through a jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "how to download stuff from remote machine through a jsp" Watch "how to download stuff from remote machine through a jsp" New topic
Author

how to download stuff from remote machine through a jsp

mihir maniar
Ranch Hand

Joined: Sep 09, 2003
Posts: 88
i have a jsp page that lists me the names of the zip files in a paricular directory on a remote computer over the network.wat i want to do is download those files.so when i click on them it gives me "page cannot be displayed" error.but when i go to that remote machine and run the same jsp to list me the files and download the same it allows me to download the files.but i want the same functionality over the network.so i think that that link is looking for that file locally instead of looking for them over the network.so is it so that i need to give the ip of the remote machine from where i want to download the file and if yes then how and if no then is there any way that i can do it some other way.
in short this functionality is like downloading some file from the net like downloading software or music....i want to incorporate the same on my jsp.please guide me.
 
Consider Paul's rocket mass heater.
 
subject: how to download stuff from remote machine through a jsp
 
Similar Threads
Listing of files hosted on a remote web server.
listing of the files hosted on the remote wb server
How to get the listing of the files hosted on a remote web server
How to download the file to the client machine
maintain single session from applet