Quantcast
Channel: Silverlight 5 forum
Viewing all articles
Browse latest Browse all 1083

How to download multiple files using Silverlight 5

$
0
0

I have hundreds of files on the server. I want to allow user to download these files to his local machine by clicking download button. When user clicks on the download button and select a folder to download, the process should start downloading all the files one by one in selected folder. On the server we already have a service that client can call to download the single file. The issue is on the client side. Here are the options I thought

1>    I thought of using SaveFileDialog, however SaveFileDialog allows only one file to save at a time. It doesn’t allow user to select folder either. Plus you cannot initiate SaveDialog programmatically, it has to be User initiated. So asking user to click hundreds of time is not practical.

2>    Zipping all the files is not an option unfortunately.

3>    MSDN article here mentions that Silverlight provides the ability to download content as a package, which is a collection of independent files http://msdn.microsoft.com/en-us/library/cc189021(v=vs.95).aspx Can I use this option to download all the files?

Its Silverlight 5 Client. Are there any other options to achieve this. ( Any browser Plugins for Silverlight ??).

( I know that for security reason browser wont allow you to access user's file system, but i'm looking for other options)

Viewing all articles
Browse latest Browse all 1083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>