Download file from web page.

  • Thread starter Thread starter Andy Nguyen
  • Start date Start date
A

Andy Nguyen

Hello all:

I am in the process of creating a web page that requires
me to provide download functionality. As the user enter a
search string, the page will query the db and build a file
that I save on the web server. The user then can hit a
button to download the saved file to some location of
their choice.

Any help will be appreciated.

Thanks

Andy
 
When they click the link or button to download, have their browser open a
new window targeting the file to be downloaded. The browser and web server
will do the rest.

Just keep in mind the file to be downloaded MUST be available in the web
application directory structure.
 
Back
Top