HELP - HtmlInputFile Server Control

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Re: HELP - HtmlInputFile Server Control

    the browser will not allow this feature for security reasons. the filname is
    readonly. you must supply an active/x control to support this feature.

    -- bruce (sqlwork.com)

    "Steven" <sfuentes@caribe.net> wrote in message
    news:020601c34c80$8af51bf0$a101280a@phx.gbl...
    > I have successfully uploaded individual files using the
    > HtmlInputFile Control, but can't figure out a quick and
    > easy way to do the same for multiple files. Let's say I
    > want to upload all the files in a folder...I tried looping
    > thru all the files, but can't assign the filename property
    > to control, to then upload it with the SaveAs method.
    >
    > Any suggestions?
    > TIA

    bruce barker Guest

  2. Similar Questions and Discussions

    1. HTMLInputFile Control Question
      I am using ASP.Net with C# as the code behind and am trying to upload multiple files with the HTMLInputFile Control. I am able to browse, select a...
    2. HtmlInputFile
      How can I can I get the FileName value from an HtmlInputFile control into a textbox? Both controls are in the same row of the datagrid and I'm...
    3. Help needed with htmlinputfile controls
      Hi All, I am looking for help with getting the Value property from a htmlinputfile control when the user selects the Submit button on my form. ...
    4. System.Web.UI.HtmlControls.HtmlInputFile
      Hello, all of a sudden my HtmlInputFile stopped working: UploadedFile.PostedFile is always null. It used to work before. Can anyone please suggest...
    5. Replicate HTMLInputFile functionality
      Hi All, I am trying to replicate the functionality of the HTML FileField control. I can use it just fine to prompt a user to browse to a file,...
  3. #2

    Default Re: HELP - HtmlInputFile Server Control

    Generally, you do not want your users to be able to upload more than 5 files
    at a time. This is both for performance and security. Anyhow, the best thing
    I can think of is using multiple file upload controls or writing something
    custom on the client side to dynamically create and populate a multipart
    encoded form.

    HTH,

    Bill P.
    "Steven" <sfuentes@caribe.net> wrote in message
    news:020601c34c80$8af51bf0$a101280a@phx.gbl...
    > I have successfully uploaded individual files using the
    > HtmlInputFile Control, but can't figure out a quick and
    > easy way to do the same for multiple files. Let's say I
    > want to upload all the files in a folder...I tried looping
    > thru all the files, but can't assign the filename property
    > to control, to then upload it with the SaveAs method.
    >
    > Any suggestions?
    > TIA

    Bill Priess Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139