How can I post a form which contain an array value?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rezanew
    New Member
    • Aug 2009
    • 1

    How can I post a form which contain an array value?

    Hello,

    I am developing an application for windows that is going to upload images to a free image hostings...

    I am using WebClient and UploadData for posting my form to the website... now lets take a look to one of these free image hostings , for example img98.com..

    as you can see in the main form for uploading there are 4 inputs with the name of "userfile[]" that means userfile is an array...
    now I want to know how can I post this value?

    thanks
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Have you considered using FTP to post the files to the server from your Windows Application?

    Comment

    • scienceman88
      New Member
      • Aug 2009
      • 85

      #3
      if you could write to a file on the web why not use something like System.IO.File. WriteAllText("f tp:\\img98.com\ file.html","");

      Comment

      Working...