Download a file from Server to Client

Hi Friends,

I want to know one thing that whether, We can download and save a file from Server to client's machine without any prompt for Open/Save.

To be more clear, I have a link on a JSP page, clicking on which, a file (.url as an extension) should get downloaded to client's desktop and page should redirect to another page. Niether I want any open/save file alert while downloading a file nor I want that file to be opened.It should just get saved on Desktop of the client.

It seems to be strange requirement,but this is what my client wants.

I just want to confirm that, is this possible in Java or any other technologies?

Thanks & Regards,

Ketan

[702 byte] By [ketchara] at [2007-10-3 2:27:39]
# 1
You could try using a signed applet that would retrieve the file and save it to the user's desktop. Still the user will have to accept the applet.
tolmanka at 2007-7-14 19:26:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Apart from the signed applet idea, putting files on a client's system without their knowledge is directly opposed to the security of that system. That's why browsers go to considerable lengths to prevent it from happening, and virus-writers and other bad guys look for loopholes to make it happen.

DrClapa at 2007-7-14 19:26:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...