File Upload Control Problem

Discussion in 'C#' started by stevejhon, Mar 17, 2009.

  1. #1
    Hi all, Iam using file upload control in my application where user can upload single as well as multiple files & make sure file is uploaded with unique name.

    Also once uploaded to be able to view files in a dropdown & have a download button so selecting any file from the dropdown,user can download the file as well.

    Thanks In Advance!
    Steve
    (212) 736-3333
     
    stevejhon, Mar 17, 2009 IP
  2. camjohnson95

    camjohnson95 Active Member

    Messages:
    737
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    60
    #2
    so whats the problem?
     
    camjohnson95, Mar 17, 2009 IP
  3. raptorex

    raptorex Peon

    Messages:
    109
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Please describe more clearly what you want to achieve.
     
    raptorex, Mar 21, 2009 IP
  4. zinist

    zinist Banned

    Messages:
    91
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    43
    #4
    Please define what type of problem you are facing i.e. it is something with file uploader or anything else
     
    zinist, Jun 27, 2015 IP
  5. t3cho

    t3cho Active Member

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    65
    #5
    You need a dummy exame of this or what ??

    I can make one for you but if you want real professional solution you can contact me on PM about deal
     
    t3cho, Sep 23, 2016 IP
  6. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #6
    If you are having issues creating a new unique name for the file - either use an incrementor - database driven, or Guid.New() + extensionName as the filename.

    If you are having issues rendering the uploaded files in a dropdown - just have server-side code read the files in your specific folder, iterate over them, and manually write out the <option> html markup... or bind it to a dropdown control if .net
     
    ccoonen, Feb 13, 2018 IP