5

Any code snippet to upload file to server via ajax call? I am using Asp.net MVC 3

3
  • 1
    Filetransfer 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. Commented 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.. Commented Feb 6, 2011 at 16:41
  • 1
    Have you checked out this (jQuery File Upload) aquantum-demo.appspot.com/file-upload Commented Feb 6, 2011 at 21:39

1 Answer 1

3

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

http://krystalware.com/Products/SlickUpload/

Sign up to request clarification or add additional context in comments.

4 Comments

There's also Uploadify if you're already doing jQuery stuff.
nice.. its open source too.. +1 frm me.. but i still love slick upload cos my company can afford it.. :D
does that support choosing directories to upload their content?
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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.