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. General Programming
  3. C#
  4. file sharing for web applications

file sharing for web applications

Scheduled Pinned Locked Moved C#
csharpasp-net
5 Posts 2 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.
  • G Offline
    G Offline
    gbabu17
    wrote on last edited by
    #1

    i have a .net(C# + asp.net) web application that needs to show a set of log files on the browser once the user is logged in. The user should be able to download the files by clicking or right click->save as. any ideas or samples will be thankful.

    P 1 Reply Last reply
    0
    • G gbabu17

      i have a .net(C# + asp.net) web application that needs to show a set of log files on the browser once the user is logged in. The user should be able to download the files by clicking or right click->save as. any ideas or samples will be thankful.

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      Here's[^] a sample that shows you how to do this.

      Deja View - the feeling that you've seen this post before.

      G 2 Replies Last reply
      0
      • P Pete OHanlon

        Here's[^] a sample that shows you how to do this.

        Deja View - the feeling that you've seen this post before.

        G Offline
        G Offline
        gbabu17
        wrote on last edited by
        #3

        thanks for the reply. I think the sample you mentioned will directly downlaod all the files without any selection. i want the user to click a file and then download.

        1 Reply Last reply
        0
        • P Pete OHanlon

          Here's[^] a sample that shows you how to do this.

          Deja View - the feeling that you've seen this post before.

          G Offline
          G Offline
          gbabu17
          wrote on last edited by
          #4

          thanks for the reply. I think the sample you mentioned will directly downlaod all the files without any selection. i want the user to click a file and then download. i mean i want the files names as a kind of links on the web page.

          P 1 Reply Last reply
          0
          • G gbabu17

            thanks for the reply. I think the sample you mentioned will directly downlaod all the files without any selection. i want the user to click a file and then download. i mean i want the files names as a kind of links on the web page.

            P Offline
            P Offline
            Pete OHanlon
            wrote on last edited by
            #5

            To do this, you need to build the list of links yourself, and dynamically attach an event handler which handles it in the same way that the button click does in the article.

            Deja View - the feeling that you've seen this post before.

            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