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 Download

File Download

Scheduled Pinned Locked Moved C#
3 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.
  • A Offline
    A Offline
    AB7771
    wrote on last edited by
    #1

    Hi all, I have created a Page on which i want the user to be able to download files, I want to display the name of the files and when the user clicks on the file name the save File dialog should be displayed so that the user can select the location of the file where it has to be saved. Any sample code or links regarding this will be appreciated.

    Thanks & Regards, Pramod "Everyone is a genius at least once a year"

    C 1 Reply Last reply
    0
    • A AB7771

      Hi all, I have created a Page on which i want the user to be able to download files, I want to display the name of the files and when the user clicks on the file name the save File dialog should be displayed so that the user can select the location of the file where it has to be saved. Any sample code or links regarding this will be appreciated.

      Thanks & Regards, Pramod "Everyone is a genius at least once a year"

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      The anchor tag will do this for you, depending. Where do the files live ? Are they on the server, or in the database ?

      Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      A 1 Reply Last reply
      0
      • C Christian Graus

        The anchor tag will do this for you, depending. Where do the files live ? Are they on the server, or in the database ?

        Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        A Offline
        A Offline
        AB7771
        wrote on last edited by
        #3

        They are on a Sharepoint Server. I get all the attachments from a list and display the names on the page by creating LinkButton for each of them. now i want the display the save dialog box when the user clicks on the LinkButton and then the file should be saved on the location given by the user.

        Thanks & Regards, Pramod "Everyone is a genius at least once a year"

        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