Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Need Help

Need Help

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netsysadminwindows-adminsecurity
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    amarnath n n
    wrote on last edited by
    #1

    I'm trying to use Response.TransmitFile in ASP.NET 2.0 instead of reading and writing chunks to a buffer for large files. The questions I want to ask are: 1. Does anyone know how efficient Response.TransmitFile is? I can see that it doesn't add up the memory usage to IIS at all, but I'm not sure the impact on the server itself compared with reading and writing to a buffer in chunks. 2. What about security? by using Response.TransmitFile Thanks,

    N A N 3 Replies Last reply
    0
    • A amarnath n n

      I'm trying to use Response.TransmitFile in ASP.NET 2.0 instead of reading and writing chunks to a buffer for large files. The questions I want to ask are: 1. Does anyone know how efficient Response.TransmitFile is? I can see that it doesn't add up the memory usage to IIS at all, but I'm not sure the impact on the server itself compared with reading and writing to a buffer in chunks. 2. What about security? by using Response.TransmitFile Thanks,

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      Read this[^] "Need Help" is not very good subject line and is probably the reason your question has been ignored.


      only two letters away from being an asset

      1 Reply Last reply
      0
      • A amarnath n n

        I'm trying to use Response.TransmitFile in ASP.NET 2.0 instead of reading and writing chunks to a buffer for large files. The questions I want to ask are: 1. Does anyone know how efficient Response.TransmitFile is? I can see that it doesn't add up the memory usage to IIS at all, but I'm not sure the impact on the server itself compared with reading and writing to a buffer in chunks. 2. What about security? by using Response.TransmitFile Thanks,

        A Offline
        A Offline
        Abhishek Sur
        wrote on last edited by
        #3

        amarnath n.n wrote:

        1. Does anyone know how efficient Response.TransmitFile is? I can see that it doesn't add up the memory usage to IIS at all, but I'm not sure the impact on the server itself compared with reading and writing to a buffer in chunks.

        AFAIK, Response.TransmitFile directly writes the file in the Response stream, which is similar to reading and writing chunks to a buffer. It flushes the buffer once the file is written to the output stream.

        amarnath n.n wrote:

        2. What about security? by using Response.TransmitFile

        There is no relation of Security with this. Its actually reading the file from a specified physical location of the server and writes the file directly to the stream. If asp.net user has permission to that folder, it can transmit the file properly. :cool::rose:

        Abhishek Sur


        My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB

        **Don't forget to click "Good Answer" if you like to.

        1 Reply Last reply
        0
        • A amarnath n n

          I'm trying to use Response.TransmitFile in ASP.NET 2.0 instead of reading and writing chunks to a buffer for large files. The questions I want to ask are: 1. Does anyone know how efficient Response.TransmitFile is? I can see that it doesn't add up the memory usage to IIS at all, but I'm not sure the impact on the server itself compared with reading and writing to a buffer in chunks. 2. What about security? by using Response.TransmitFile Thanks,

          N Offline
          N Offline
          N a v a n e e t h
          wrote on last edited by
          #4

          I never had to use Response.TransmitFile. IMO, simple method to transmit files is to redirect to the file name. Rest all will be automatically taken care.

          Navaneeth How to use google | Ask smart questions

          D 1 Reply Last reply
          0
          • N N a v a n e e t h

            I never had to use Response.TransmitFile. IMO, simple method to transmit files is to redirect to the file name. Rest all will be automatically taken care.

            Navaneeth How to use google | Ask smart questions

            D Offline
            D Offline
            droth17
            wrote on last edited by
            #5

            You are assuming that the file is in the folder structure. Many, store files out of the folder structure of the website so they can be properly secured on a user to user basis.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups