Well, a simple way would be to simply provide a LinkButton that says
"Download file" (or whatever) and invokes a Command on the server. In
this eventhandler, you can query the Command parameters and force a
file to be sent in the response. This way, your actual file location
is never revealed to the user.

Another way would be to create an HttpHandler that intercepts requests
for .doc files and allows the URL to be changed to the actual file
location.

On Jul 4, 10:11 am, nag <[email protected]> wrote:
> here in my following code im listing files from dynamically created
> folder (folder name is userid of the user)
> i can get all files in grid...
> bt im nt getting virtual path of file
> in grid im getting link like thishttp://www.site.com/pcs/admin/testt.doc
> but actaul file path ishttp://www.site.com/pcs/admin/1/testt.doc
>

Reply via email to