Reputation: 4527
What's the best way to implement a download system?
It needs to be integrated with an asp.net application.
I need the following features:
It's something similar to rapidshare I believe, but integrated with an asp.net application.
What would you guys suggest?
thanks!
Upvotes: 3
Views: 416
Reputation: 26845
You could also use nginx and its X-Accel-Redirect feature. It's simple, and nginx is even more ridiculously fast and lightweight than lighttpd. A common setup at least in the Ruby and Python web world is to run nginx in front of lighttpd or Apache. nginx serves all static media and proxies dynamic request to the web server behind it.
Upvotes: 2
Reputation: 1528
What if you hosted the files on a lighttpd server running modsecdownload, and used your asp.net app to generate the secure urls to the files on that server? That approach should handle items 1,2 and 4.
Not sure how you could tell from the server side that the download was completed successfully, maybe have some logic that parses the server logs?
Upvotes: 4