Hi.
I have a little script that streams files to users if they click on a link using the Server.CreateObject("ADODB.Stream").
Is it possible via this (or any other) to stream a file directly to the user and be able to specify the name of the file.
Example:
I have a folder off the root of a website called 'files' it contains 2 files called:
00001.doc
00002.doc
Now if a user clicks a download link for 00001.doc is there a way where instead of the prompt coming up for them to save 00001.doc locally it actually prompts and I can supply the filename. So despite download 0001.doc it would default the filename to whatever I supply.
Hope that makes sense
Thanks.
- FateFirst
I have a little script that streams files to users if they click on a link using the Server.CreateObject("ADODB.Stream").
Is it possible via this (or any other) to stream a file directly to the user and be able to specify the name of the file.
Example:
I have a folder off the root of a website called 'files' it contains 2 files called:
00001.doc
00002.doc
Now if a user clicks a download link for 00001.doc is there a way where instead of the prompt coming up for them to save 00001.doc locally it actually prompts and I can supply the filename. So despite download 0001.doc it would default the filename to whatever I supply.
Hope that makes sense
Thanks.
- FateFirst