0

Using c#, I have a method which uploads a file using a POST HTTP method. But the server is expecting an array of files. So what should I change, or more generally, how can I POST an array or list of files?

fourpastmidnight
  • 4,032
  • 1
  • 35
  • 48
lenden
  • 800
  • 2
  • 14
  • 38

1 Answers1

0

You can use jquery and an upload plugin like the one here:

http://blueimp.github.com/jQuery-File-Upload/

Yasser
  • 1,808
  • 12
  • 18
  • I mean loading from application like windows forms or console application – lenden Jul 04 '12 at 11:00
  • Possible duplicate of http://stackoverflow.com/questions/9142804/post-multiple-files-and-form-values-using-net-console-application – Yasser Jul 04 '12 at 11:06