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. Download file in Web using C#.net 2.0

Download file in Web using C#.net 2.0

Scheduled Pinned Locked Moved Web Development
csharphelp
4 Posts 3 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.
  • C Offline
    C Offline
    customise
    wrote on last edited by
    #1

    I want to create a link that for the user to click. When the user click it, then there will be a pop up to ask the user to download a file. I use response.redirect, response.TransmitFile but the web page dont know pop up to ask user to download the file. Please kindly help. Thanks~~

    L V 2 Replies Last reply
    0
    • C customise

      I want to create a link that for the user to click. When the user click it, then there will be a pop up to ask the user to download a file. I use response.redirect, response.TransmitFile but the web page dont know pop up to ask user to download the file. Please kindly help. Thanks~~

      L Offline
      L Offline
      Luay Essa
      wrote on last edited by
      #2

      Try to user response.BinaryWrite

      C 1 Reply Last reply
      0
      • L Luay Essa

        Try to user response.BinaryWrite

        C Offline
        C Offline
        customise
        wrote on last edited by
        #3

        Thanks!!!!

        1 Reply Last reply
        0
        • C customise

          I want to create a link that for the user to click. When the user click it, then there will be a pop up to ask the user to download a file. I use response.redirect, response.TransmitFile but the web page dont know pop up to ask user to download the file. Please kindly help. Thanks~~

          V Offline
          V Offline
          Vasudevan Deepak Kumar
          wrote on last edited by
          #4

          Content-disposition: attachment; filename=fname.ext Check out http://support.microsoft.com/kb/260519[^]

          Vasudevan Deepak Kumar Personal Homepage Tech Gossips

          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