1

I have a large file upload written in Silverlight, i open the file and send chunks to a asmx web service which in turn concatenates the file chunks and creates the file. I would like to change this upload method from Silverlight to HTML 5 if possible. But is it even possible to chunk up the file in HTML 5 upload and send chunks to a web service?

Brian Hvarregaard
  • 4,081
  • 6
  • 41
  • 77

2 Answers2

0

Ajax is how JavaScript communicates with a server.

here is a tutorial

tnt-rox
  • 5,400
  • 2
  • 38
  • 52
0

Yes, its possible to send multipart forms (a.k.a file uploads) but don't try to implement it from scratch. You would need iframe workaround for older browsers.

Try out this library: http://valums.com/ajax-upload/

Also see this answer: Sending multipart/formdata with jQuery.ajax

Community
  • 1
  • 1
Teemu Ikonen
  • 11,861
  • 4
  • 22
  • 35