Silverlight Large File Downloader -


i've got interesting one: ability marshal download of files - many in gigabyte region of data.

i have silverlight website allows upload of large volumes of data (gigs) using following plugin: http://silverlightuploader.codeplex.com/

however, want able allow users download same data too. want able restrict amount of concurrent downloads. idea of directly controlling stream of data client via silverlight compelling - don't want directly install on machine.

my question is: volume of data looking @ retrieving appropriate use webclient class (i can specify how many bytes http stream want read, can download incrementally, , put business rules round checking how many people downloading, , make wait until user count has gone down...), or can use sockets keep overhead down of http?

unless there project i've not found thing!

cheers in advance,

matt

as long download data in chunks of smaller size actual volume of total file won't matter , won't matter use downloading. example, file of size use webclient class , download chucks of maybe 1 or 2 mb @ time temporary storage file on disk. you'll have keep track of how you've got downloaded , need start next chuck from, isn't overly difficult problem. can use sockets have communicate web server access file in first place.

when client connects download next chunk, enforce business logic concerning number of concurrent users. there might library can use honest it's not complex problem.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -