NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on December 18, 2008, 06:29:36 AM
-
Hi,
with PR 24
Trying to change the name the explorer shows to the user downloading a file:
Insetead of:
p_web.HeaderDetails.ContentDisposition = 'attachment; filename="'&clip(loc:fileName)&'"'
I´ve coded:
p_web.HeaderDetails.ContentDisposition = 'attachment; filename="This is your download"'
but this does not work.
the file does not download.
How must I do it??
Thanks
Alberto
-
Hi Alberto,
What you've done is the same as me. You've just replaced a variable with a constant string.
I copied your code to Example 40, and put it right under the line that's already there - and it worked perfectly. So I think perhaps your problem is a bit different.
Feel free to post your modified example 40 here if you like.
Cheers
Bruce