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
  • 3,921
  • 6
  • 39
  • 75

2 Answers2

0

Ajax is how JavaScript communicates with a server.

here is a tutorial

tnt-rox
  • 5,112
  • 2
  • 34
  • 51
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,613
  • 4
  • 21
  • 35