473,509 Members | 2,457 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2250
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
6082
by: Brandon Walters | last post by:
I wrote a file download module for my website. The reason for the file download module is that my website downloads work on a credit based system. So I need to keep track of and limit daily...
1
3203
by: ASP Spam Fighter | last post by:
Hello all, I don't know how to get around this one... If anybody can help me with this problem, I would appreciate it very much. I've been trying to send a (large) file to the browser via a...
3
12160
by: Michael Bøcker-Larsen | last post by:
Hi I'v been stuck on this problem for ages now. I have found that I'm not the only one with this problem, by looking through the different newsgroups. Hope you can help me! I know there is a...
1
5353
by: Roy | last post by:
Hi, I have a problem that I have been working with for a while. I need to be able from server side (asp.net) to detect that the file i'm streaming down to the client is saved...
2
1649
by: Ken Varn | last post by:
I have an ASP.NET page that incorporates the following code on a button press. private void DownloadTag_Command(object sender, CommandEventArgs e) { FileStream fs; String Filename; Filename...
2
1746
by: Andrew Jocelyn | last post by:
Hi I get this error when I change something in the web.config file. When I build the VS projects and load the first web page the application runs fine. If I then make a save the web.config file...
6
414
by: rony_16 | last post by:
Hi, I have problem with downloading a file using WebRequest and HttpWebResponse. Inorder to download this file i need to call to url that tells to prepare the file for download, and then i call...
3
2122
by: tshad | last post by:
I have a function that downloads a file to the users computer and it works fine. The problem is that I then want the program to rename the file (file.move) to the same name plus todays date. ...
4
5684
by: pradqdo | last post by:
Hi folks, I have a very strange problem when I try to port my client/server program to cygwin. It is a simple shell program where the server executes client's commands + it can send and receive...
1
47353
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Many websites have a form or a link you can use to download a file. You click a form button or click...
0
7233
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7342
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7410
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7067
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7505
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5650
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3215
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1570
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
774
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.