Page 1 of 1

download file from server to client

Posted: Tue Sep 20, 2005 2:41 pm
by nothingman
hello,

I need to download the file from server on which my application is running to the clients hard drive into the exact directory.

on server I have file export/export_001.csv

and when user click on some link on my websites this file must be downloaded to the usres hard drive into C:/download/export.csv

Code: Select all

<a href=export/export_001.cs>link</a>
is not usefull because it asks if the file should be downloaded and into which folder and under which name

I need to do the download without asking the user.

can anyone help me ???

thanx in advance

Posted: Tue Sep 20, 2005 2:49 pm
by John Cartwright
This is impossible using most languages considering it would be an extremely high security risk. Think about if websites had the ability to maliciously download dangerous applications to your harddrive.