0

I've spent several hours of googling. Can anybody point me to an example of big file uploader with progress with backend on ASP.Net MVC3. I found many different solutions, but most of them use PHP as backend, and it's a bit hard for me to convert. Also I think there have to be some examples for ASP.Net MVC3.

PS I don't consider paid components, please don't suggest them.

Vladimir Perevalov
  • 4,059
  • 18
  • 22

3 Answers3

1

Uploadify - there you have it :) Set maxRequestLength in the web.config

http://midnightprogrammer.net/post/Upload-Files-In-RAZOR-With-jQuery-Uploadify-Plugin.aspx

Adam Tuliper
  • 29,982
  • 4
  • 53
  • 71
  • I saw this example. Maybe I don't understand something, I didn't try to use it. But from the code it looks like, that it will not be showing progress and plug-in is used only to make the to be uploaded without postback. I need to upload 200mb files, so I have to give visual progress and upload with chunks. – Vladimir Perevalov Oct 01 '11 at 20:07
  • After all, this aproach suited me best. With testing I found, that it still can show upload progress even when not actually transmitting in chunks. And this plug-in was the easiest to configure. Though I had to remove authentication from Upload handler, but this is ok, in my case. – Vladimir Perevalov Oct 02 '11 at 12:36
0

You could try out Telerik Upload not sure what the file size limit is though.

This is a free and opensource component from Telerik.

scartag
  • 17,548
  • 3
  • 48
  • 52
0

I spent a good amount of time getting the right plugin too.

I use this : http://valums.com/ajax-upload/

Uploadify uses flash to send files, which was bad for me as i needed upload from authenticated users ONLY. And flash would not send the cookies and so your application will treat the upload request as anonymous. If that is not an issue, uploadify works fine too.

Here is how i implemented it in mvc3 -

Create a controller / action to receive the opload file. Change the 'action' property of the plugin to point to it -

// url of the server-side upload script, should be on the same domain
action: '/controller/action'

Make sure that action returns JSON object with a property in it with 'success' = 'true'/'false'

MoXplod
  • 3,813
  • 6
  • 36
  • 46
  • Flash/HTML5 is no problem, this is a local application, that can be dependend on particular technology, but I would really like to see ASP.Net MVC 3 backend example for this. And your link have PHP backend. – Vladimir Perevalov Oct 01 '11 at 20:10
  • Look at the edit above. there is nothing PHP about the plugin it can use either backend, all it does is create an HTTP post request to the server – MoXplod Oct 01 '11 at 20:18