Any code snippet to upload file to server via ajax call? I am using Asp.net MVC 3
-
1Filetransfer via ajax isn't possible atm. You need to use a solution that posts to a iframe to achieve the feel of a "ajax"-upload. No XHR-requests.Alxandr– Alxandr2011-02-06 16:17:58 +00:00Commented Feb 6, 2011 at 16:17
-
I dont think there was any reason for the negative vote.. why cant he think that it can be done! Its a vlaid question..Baz1nga– Baz1nga2011-02-06 16:41:18 +00:00Commented Feb 6, 2011 at 16:41
-
1Have you checked out this (jQuery File Upload) aquantum-demo.appspot.com/file-uploadJ.W.– J.W.2011-02-06 21:39:26 +00:00Commented Feb 6, 2011 at 21:39
Add a comment
|
1 Answer
Hey try using this tool called slickupload. Its a really cool tool and handles most of the problems with streaming while providing a cool UI while uploading the file too.. really easy to use too.
Problems with uploading large files of net disconnection etc is also handled gracefully by this tool..
do check it out at
4 Comments
Baz1nga
nice.. its open source too.. +1 frm me.. but i still love slick upload cos my company can afford it.. :D
iLemming
does that support choosing directories to upload their content?
Baz1nga
At the server side you control where you want to store the file. Sslickupload will just give you the file as a byte stream saving it is left to you