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. Users Uploading Files

Users Uploading Files

Scheduled Pinned Locked Moved ASP.NET
question
6 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
    coachmackey
    wrote on last edited by
    #1

    How can I allow users to upload photos to my website? I need them to be able to browse their own hard drive to submmit the file. I then need to check the size and rename. rob mackey

    G 1 Reply Last reply
    0
    • C coachmackey

      How can I allow users to upload photos to my website? I need them to be able to browse their own hard drive to submmit the file. I then need to check the size and rename. rob mackey

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      Use a FileUpload control.

      --- b { font-weight: normal; }

      C 1 Reply Last reply
      0
      • G Guffa

        Use a FileUpload control.

        --- b { font-weight: normal; }

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

        Where can I find one of those? rob

        G 1 Reply Last reply
        0
        • C coachmackey

          Where can I find one of those? rob

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

          System.Web.UI.WebControls.FileUpload

          --- b { font-weight: normal; }

          C 1 Reply Last reply
          0
          • G Guffa

            System.Web.UI.WebControls.FileUpload

            --- b { font-weight: normal; }

            C Offline
            C Offline
            coachmackey
            wrote on last edited by
            #5

            Is fileupload available in .net 1.1? rob

            T 1 Reply Last reply
            0
            • C coachmackey

              Is fileupload available in .net 1.1? rob

              T Offline
              T Offline
              Tal Even Tov
              wrote on last edited by
              #6

              Yes. It is available in the Visual Studio's HTML Controls (toolbox). When you add it just remember to make it runat=server. When the page postbacks you can access the file by fileUpload1.postedFile, if i'm not mistaken.


              The best times in life are the ones you can't remember!!!

              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