<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Simple Silverlight Uploader with Progress Bar using HttpRequest or WCF</title>
	<atom:link href="http://www.integratedwebsystems.com/2009/08/simple-silverlight-file-uploader-with-progress-bar-using-httprequest-or-wcf/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.integratedwebsystems.com/2009/08/simple-silverlight-file-uploader-with-progress-bar-using-httprequest-or-wcf/</link>
	<description>My Little .NET Sandbox</description>
	<lastBuildDate>Sat, 04 Feb 2012 23:11:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Nathan</title>
		<link>http://www.integratedwebsystems.com/2009/08/simple-silverlight-file-uploader-with-progress-bar-using-httprequest-or-wcf/comment-page-1/#comment-7007</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Tue, 05 Jul 2011 14:03:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=287#comment-7007</guid>
		<description>Hi &lt;a href=&quot;#comment-7001&quot; rel=&quot;nofollow&quot;&gt;@Saieesh&lt;/a&gt;

I believe it does support unlimited files sizes if you remove the size cap in the code. Each chunk is &lt; 4MB per HTTP request, so they just build on each other to any size.  It does not have a resume; although with a little creativity, you could probably devise some way to make that work. The data is validated with hashes SHA256 I think. Each individual chunk is hashed and compared to the pre-hash sent with the chunk. Then the full received file data is re-hashed on the server and compared to the hash sent in the final request. It&#039;s not very fancy; this was kind of a concept demo when I wrote it. 

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi <a href="#comment-7001" rel="nofollow">@Saieesh</a></p>
<p>I believe it does support unlimited files sizes if you remove the size cap in the code. Each chunk is < 4MB per HTTP request, so they just build on each other to any size.  It does not have a resume; although with a little creativity, you could probably devise some way to make that work. The data is validated with hashes SHA256 I think. Each individual chunk is hashed and compared to the pre-hash sent with the chunk. Then the full received file data is re-hashed on the server and compared to the hash sent in the final request. It&#8217;s not very fancy; this was kind of a concept demo when I wrote it. </p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saieesh</title>
		<link>http://www.integratedwebsystems.com/2009/08/simple-silverlight-file-uploader-with-progress-bar-using-httprequest-or-wcf/comment-page-1/#comment-7001</link>
		<dc:creator>Saieesh</dc:creator>
		<pubDate>Mon, 04 Jul 2011 05:29:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=287#comment-7001</guid>
		<description>Hi, wonderful code. few questions
does it support unlimited file size upload
how do i resume upload in case of interruption from the point of interruption
how does the code validate the uploaded data</description>
		<content:encoded><![CDATA[<p>Hi, wonderful code. few questions<br />
does it support unlimited file size upload<br />
how do i resume upload in case of interruption from the point of interruption<br />
how does the code validate the uploaded data</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan</title>
		<link>http://www.integratedwebsystems.com/2009/08/simple-silverlight-file-uploader-with-progress-bar-using-httprequest-or-wcf/comment-page-1/#comment-6935</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Fri, 03 Jun 2011 15:27:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=287#comment-6935</guid>
		<description>&lt;a href=&quot;#comment-6897&quot; rel=&quot;nofollow&quot;&gt;@Matthew Blott &lt;/a&gt; 
Haha awesome! Glad it worked!</description>
		<content:encoded><![CDATA[<p><a href="#comment-6897" rel="nofollow">@Matthew Blott </a><br />
Haha awesome! Glad it worked!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan</title>
		<link>http://www.integratedwebsystems.com/2009/08/simple-silverlight-file-uploader-with-progress-bar-using-httprequest-or-wcf/comment-page-1/#comment-6934</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Fri, 03 Jun 2011 15:26:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=287#comment-6934</guid>
		<description>&lt;a href=&quot;#comment-6932&quot; rel=&quot;nofollow&quot;&gt;@YongYong &lt;/a&gt; 
You bet!</description>
		<content:encoded><![CDATA[<p><a href="#comment-6932" rel="nofollow">@YongYong </a><br />
You bet!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: YongYong</title>
		<link>http://www.integratedwebsystems.com/2009/08/simple-silverlight-file-uploader-with-progress-bar-using-httprequest-or-wcf/comment-page-1/#comment-6932</link>
		<dc:creator>YongYong</dc:creator>
		<pubDate>Fri, 03 Jun 2011 04:05:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=287#comment-6932</guid>
		<description>this is awesome!
Thanks for the samples!</description>
		<content:encoded><![CDATA[<p>this is awesome!<br />
Thanks for the samples!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Blott</title>
		<link>http://www.integratedwebsystems.com/2009/08/simple-silverlight-file-uploader-with-progress-bar-using-httprequest-or-wcf/comment-page-1/#comment-6897</link>
		<dc:creator>Matthew Blott</dc:creator>
		<pubDate>Tue, 10 May 2011 09:06:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=287#comment-6897</guid>
		<description>Excellent project. I can&#039;t believe I&#039;ve just downloaded a project from the web that&#039;s worked without any problems - that must be a first! I&#039;ve just deployed it to our production server and it still worked. Thanks, much appreciated :-)</description>
		<content:encoded><![CDATA[<p>Excellent project. I can&#8217;t believe I&#8217;ve just downloaded a project from the web that&#8217;s worked without any problems &#8211; that must be a first! I&#8217;ve just deployed it to our production server and it still worked. Thanks, much appreciated <img src='http://www.integratedwebsystems.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan</title>
		<link>http://www.integratedwebsystems.com/2009/08/simple-silverlight-file-uploader-with-progress-bar-using-httprequest-or-wcf/comment-page-1/#comment-6886</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Fri, 22 Apr 2011 15:57:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=287#comment-6886</guid>
		<description>&lt;a href=&quot;#comment-6883&quot; rel=&quot;nofollow&quot;&gt;@Dmasty &lt;/a&gt; 
Good catch. That&#039;s likely a bug. I&#039;ll peek at it when I get a chance. If you code the solution, fork the repo and submit a pull request; I&#039;ll be happy to accept it. :)  &lt;a href=&quot;https://github.com/nathanb/iws-snippets/tree/master/UploaderSL&quot; rel=&quot;nofollow&quot;&gt;Here is the github project&lt;/a&gt;. 

I also built another uploader recently that uses just a regular HTTP Multi-part/form post and had something very similar to this.  I&#039;ll be posting the new uploader soon. Things have been pretty busy @ home. :)</description>
		<content:encoded><![CDATA[<p><a href="#comment-6883" rel="nofollow">@Dmasty </a><br />
Good catch. That&#8217;s likely a bug. I&#8217;ll peek at it when I get a chance. If you code the solution, fork the repo and submit a pull request; I&#8217;ll be happy to accept it. <img src='http://www.integratedwebsystems.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   <a href="https://github.com/nathanb/iws-snippets/tree/master/UploaderSL" rel="nofollow">Here is the github project</a>. </p>
<p>I also built another uploader recently that uses just a regular HTTP Multi-part/form post and had something very similar to this.  I&#8217;ll be posting the new uploader soon. Things have been pretty busy @ home. <img src='http://www.integratedwebsystems.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmasty</title>
		<link>http://www.integratedwebsystems.com/2009/08/simple-silverlight-file-uploader-with-progress-bar-using-httprequest-or-wcf/comment-page-1/#comment-6883</link>
		<dc:creator>Dmasty</dc:creator>
		<pubDate>Sat, 16 Apr 2011 11:09:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=287#comment-6883</guid>
		<description>i find an message or error on Default.aspx where is called the Uploader.Client. if the user upload the file less that 1Kb then will get &quot;Offset and length were out of bounds for the array or count is greater....&quot; message .. it is error or only a message ?? can the silverlight upload a file less that 1 Kb ?</description>
		<content:encoded><![CDATA[<p>i find an message or error on Default.aspx where is called the Uploader.Client. if the user upload the file less that 1Kb then will get &#8220;Offset and length were out of bounds for the array or count is greater&#8230;.&#8221; message .. it is error or only a message ?? can the silverlight upload a file less that 1 Kb ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dfcc1970</title>
		<link>http://www.integratedwebsystems.com/2009/08/simple-silverlight-file-uploader-with-progress-bar-using-httprequest-or-wcf/comment-page-1/#comment-3753</link>
		<dc:creator>dfcc1970</dc:creator>
		<pubDate>Thu, 16 Dec 2010 18:33:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=287#comment-3753</guid>
		<description>I also modify several cs files,  so the application will upload with the same original source filename, and if the file exist it overwrite it at the server.</description>
		<content:encoded><![CDATA[<p>I also modify several cs files,  so the application will upload with the same original source filename, and if the file exist it overwrite it at the server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dfcc1970</title>
		<link>http://www.integratedwebsystems.com/2009/08/simple-silverlight-file-uploader-with-progress-bar-using-httprequest-or-wcf/comment-page-1/#comment-3752</link>
		<dc:creator>dfcc1970</dc:creator>
		<pubDate>Thu, 16 Dec 2010 18:30:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=287#comment-3752</guid>
		<description>I upgrade the code to Visual Studio 10, I did fix ListItem.xaml.cs the wrong line  is:

read = fs.Read(buffer, 0, Utility.chunkSize);

adn should be:

read = fs.Read(buffer, 0, buffer.Length);

I did delete the Solucion so only needed 2 projects,1 for Silverlight and 1 for Web application with WFC services, i also modify the web.config and  ServiceReferences.ClientConfig so now you can upload large files (i did test with 260Mb file)
also i did modify utility.cs  the line public const int chunkSize = 500000; 

So I want to post the final solution but i dunno how. email me dfcc1970@yahoo.com. Thanks</description>
		<content:encoded><![CDATA[<p>I upgrade the code to Visual Studio 10, I did fix ListItem.xaml.cs the wrong line  is:</p>
<p>read = fs.Read(buffer, 0, Utility.chunkSize);</p>
<p>adn should be:</p>
<p>read = fs.Read(buffer, 0, buffer.Length);</p>
<p>I did delete the Solucion so only needed 2 projects,1 for Silverlight and 1 for Web application with WFC services, i also modify the web.config and  ServiceReferences.ClientConfig so now you can upload large files (i did test with 260Mb file)<br />
also i did modify utility.cs  the line public const int chunkSize = 500000; </p>
<p>So I want to post the final solution but i dunno how. email me <a href="mailto:dfcc1970@yahoo.com">dfcc1970@yahoo.com</a>. Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

