Questions tagged [response.transmitfile]
20 questions
0
votes
1 answer
TransmitFile security issue in IE and word
I'm trying to transfer a file (word document) from my server to the client
I'm using this :
Response.TransmitFile(path);
Response.End();
In IE when I click open of the download popup, everything is ok and word open with my document.
The problem…

GregM
- 2,634
- 3
- 22
- 37
0
votes
1 answer
Response.TransmitFile() throws 'Access to the path {path} is denied' using ASP.NET Development Server
I'm trying to send a protected PDF file (which cannot be accesed directly via the browser) using Response.TransmitFile() but I'm getting "Access to the path ... is denied". I'm using ASP.NET Development Server so I don't know exactly which is the…

empz
- 11,509
- 16
- 65
- 106
0
votes
1 answer
File not downloading from GridView on click event
I have a GridView named gvEmplAttachments that has 3 columns:
id
FileName
FilePath
Each row has a LinkButton that will allows the user to download the file, that button is coded as such:

DebPepDevuan
- 469
- 14
- 30
0
votes
1 answer
Response.TransmitFile() fails to transmit an empty file
I'm implementing a column in GridView to allow users to download files when they click on the file name(files are stored in Uploads folder of my Project).
Code is working fine when there's some data in the file i.e. user can click on file and…

GorvGoyl
- 42,508
- 29
- 229
- 225
0
votes
0 answers
C# file download returns corrupted file - TransmitFile
On our server we are hosting 10+ websites under the same domain using virtual directory. Now, among them file download function is working in all websites except 2. I have checked everything with the following function but still it's not…

Parth Patel
- 307
- 1
- 6
- 19