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 Uploader

File Uploader

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

    I need to get files from my c drive one-by-one using file uploader and put themin a list box then save the files to a server. can someone help please.

    V 1 Reply Last reply
    0
    • M minniemooo

      I need to get files from my c drive one-by-one using file uploader and put themin a list box then save the files to a server. can someone help please.

      V Offline
      V Offline
      Vikram A Punathambekar
      wrote on last edited by
      #2

      And where exactly are you stuck? :suss: You can get files from a directory using the DirectoryInfo and FileInfo classes. Use the properties exposed by these classes to add them to your listbox. As for saving them to a server, it depends on what protocol you will be using.

      Cheers, Vıkram.


      Be yourself, no matter what they say. - Sting, Englishman in New York.

      V 1 Reply Last reply
      0
      • V Vikram A Punathambekar

        And where exactly are you stuck? :suss: You can get files from a directory using the DirectoryInfo and FileInfo classes. Use the properties exposed by these classes to add them to your listbox. As for saving them to a server, it depends on what protocol you will be using.

        Cheers, Vıkram.


        Be yourself, no matter what they say. - Sting, Englishman in New York.

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

        Vikram A Punathambekar wrote:

        You can get files from a directory using the DirectoryInfo and FileInfo classes.

        These are serverside. I think he is expecting something on the web browser. He might most probably need an ActiveX solution to achieve the same.

        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