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. Download file

Download file

Scheduled Pinned Locked Moved ASP.NET
testingbeta-testinghelptutorial
8 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.
  • H Offline
    H Offline
    Hassan Sajedi
    wrote on last edited by
    #1

    I want to download a file from an URL address(for example--> Http://10.10.10.27/Publish/test.wav) to a client system. I'm testing many way to coding this part but i didn't get answer.:confused: please help me. thank you.

    S N 2 Replies Last reply
    0
    • H Hassan Sajedi

      I want to download a file from an URL address(for example--> Http://10.10.10.27/Publish/test.wav) to a client system. I'm testing many way to coding this part but i didn't get answer.:confused: please help me. thank you.

      S Offline
      S Offline
      Sundeep Ganiga
      wrote on last edited by
      #2

      Member 6291554 wrote:

      Http://10.10.10.27/Publish/test.wav

      What does Publish mean here? Sundeep

      Give a man a fish and you feed him for a day. Teach a man to fish and you feed him forever.

      1 Reply Last reply
      0
      • H Hassan Sajedi

        I want to download a file from an URL address(for example--> Http://10.10.10.27/Publish/test.wav) to a client system. I'm testing many way to coding this part but i didn't get answer.:confused: please help me. thank you.

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

        What are you having difficulty with :confused: You create a hyperlink that points to the file in question


        only two letters away from being an asset

        H 1 Reply Last reply
        0
        • N Not Active

          What are you having difficulty with :confused: You create a hyperlink that points to the file in question


          only two letters away from being an asset

          H Offline
          H Offline
          Hassan Sajedi
          wrote on last edited by
          #4

          I've a list of directory files that when i change selected files coping selected file to client system("C:\\Test.wav"). And then play file on client side. I'm writing source of play part but for copying i've a problem. My project is working on my system but when publish my site not working.

          N 1 Reply Last reply
          0
          • H Hassan Sajedi

            I've a list of directory files that when i change selected files coping selected file to client system("C:\\Test.wav"). And then play file on client side. I'm writing source of play part but for copying i've a problem. My project is working on my system but when publish my site not working.

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

            You're just confusing the issue even more. Is this a client/server app or a web app?


            only two letters away from being an asset

            H 1 Reply Last reply
            0
            • N Not Active

              You're just confusing the issue even more. Is this a client/server app or a web app?


              only two letters away from being an asset

              H Offline
              H Offline
              Hassan Sajedi
              wrote on last edited by
              #6

              client/server

              N 1 Reply Last reply
              0
              • H Hassan Sajedi

                client/server

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

                Use the WebRequest[^] class WebRequest request = new WebRequest(url); HttpWebResponse response = request.GetResponse(); Stream download = response.GetResponseStream();


                only two letters away from being an asset

                H 1 Reply Last reply
                0
                • N Not Active

                  Use the WebRequest[^] class WebRequest request = new WebRequest(url); HttpWebResponse response = request.GetResponse(); Stream download = response.GetResponseStream();


                  only two letters away from being an asset

                  H Offline
                  H Offline
                  Hassan Sajedi
                  wrote on last edited by
                  #8

                  Thank you Mr Mark Nischalke. ;)

                  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