Hello shapper,
instead of putting direct link to file on webform, put the linkButton and
in the codebehind read your file as stream and send it to user
in this case u can send is with any name
---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
sHello,
s>
sI want to make a file available to a user for download on an ASP.NET
spage.
sSo I need to have a button that when clicked, the file is download.
sHowever, before the file is downloaded, I want it to be renamed so
sthe
sfile name that the users gets is different that the one in the
sserver.
sThe extension will be the same.
sAny idea of how to do this?
s>
sThanks,
sMiguel