469,954 Members | 1,708 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,954 developers. It's quick & easy.

file download problem.

Hi

Is it possible to user can download the pdf files thru my webserver which
the files are stored on different local machine on network.

like my aspx page contain href links to those files. i tried and cannt be
done. is it any other way to achive this?

Thanks
Bala
Nov 19 '05 #1
5 2149
HI Bala ,

Are you saying downloading the file programatically.If you have a link
you can right click and save as it will download to your local folder.
Shivprasad Koirala
C# , VB.NET , SQL SERVER , ASP.NET Interview Questions
http://www.geocities.com/dotnetinterviews/

Nov 19 '05 #2
but the link pointing to another computer under same domain. not in the
server.

From server we can access that file. bcos all same domain. but end user
cannt download those files. any other alternative for this.

thanks
bala

"sh**********@yahoo.com" wrote:
HI Bala ,

Are you saying downloading the file programatically.If you have a link
you can right click and save as it will download to your local folder.
Shivprasad Koirala
C# , VB.NET , SQL SERVER , ASP.NET Interview Questions
http://www.geocities.com/dotnetinterviews/

Nov 19 '05 #3

Take a look at Response.Page.TransmitFile().

"Bala" wrote:
but the link pointing to another computer under same domain. not in the
server.

From server we can access that file. bcos all same domain. but end user
cannt download those files. any other alternative for this.

thanks
bala

"sh**********@yahoo.com" wrote:
HI Bala ,

Are you saying downloading the file programatically.If you have a link
you can right click and save as it will download to your local folder.
Shivprasad Koirala
C# , VB.NET , SQL SERVER , ASP.NET Interview Questions
http://www.geocities.com/dotnetinterviews/

Nov 19 '05 #4
Hi

Thanks for the info. I'll check it out.

Actually i am loading the file path to one of my datagrid column (Hidden
column) and also i have download button. once the user click that button, the
user get that file from using the hyperlink column.

Do you think its possible to get using TransmitFile?

Thanks
bala

"Lee Chapman" wrote:

Take a look at Response.Page.TransmitFile().

"Bala" wrote:
but the link pointing to another computer under same domain. not in the
server.

From server we can access that file. bcos all same domain. but end user
cannt download those files. any other alternative for this.

thanks
bala

"sh**********@yahoo.com" wrote:
HI Bala ,

Are you saying downloading the file programatically.If you have a link
you can right click and save as it will download to your local folder.
Shivprasad Koirala
C# , VB.NET , SQL SERVER , ASP.NET Interview Questions
http://www.geocities.com/dotnetinterviews/

Nov 19 '05 #5

I don't see why not. You can get the filename from wherever you want - but
don't forget to consider the security implications of someone sending their
own postdata; you probably don't want user A getting access to user B's files.

- Lee
"Bala" wrote:
Hi

Thanks for the info. I'll check it out.

Actually i am loading the file path to one of my datagrid column (Hidden
column) and also i have download button. once the user click that button, the
user get that file from using the hyperlink column.

Do you think its possible to get using TransmitFile?

Thanks
bala

"Lee Chapman" wrote:

Take a look at Response.Page.TransmitFile().

"Bala" wrote:
but the link pointing to another computer under same domain. not in the
server.

From server we can access that file. bcos all same domain. but end user
cannt download those files. any other alternative for this.

thanks
bala

"sh**********@yahoo.com" wrote:

> HI Bala ,
>
> Are you saying downloading the file programatically.If you have a link
> you can right click and save as it will download to your local folder.
>
>
> Shivprasad Koirala
> C# , VB.NET , SQL SERVER , ASP.NET Interview Questions
> http://www.geocities.com/dotnetinterviews/
>
>

Nov 19 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by rony_16 | last post: by
3 posts views Thread by tshad | last post: by
4 posts views Thread by pradqdo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.