<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Nathan Yorke - All Comments</title><link>http://weblogs.asp.net/nathanyorke/default.aspx</link><description>Getting things done one line of code at a time.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>re: Uploading multiple files logically via the web</title><link>http://weblogs.asp.net/nathanyorke/archive/2007/12/05/uploading-multiple-files-via-the-web.aspx#8241498</link><pubDate>Wed, 11 Jan 2012 01:34:47 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8241498</guid><dc:creator>BB</dc:creator><description>&lt;p&gt;Has anyone been able to get this to work in a custom application (i.e. not a SharePoint application)? &amp;nbsp;Request.Files keep coming back empty when I try this.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8241498" width="1" height="1"&gt;</description></item><item><title>re: Uploading multiple files logically via the web</title><link>http://weblogs.asp.net/nathanyorke/archive/2007/12/05/uploading-multiple-files-via-the-web.aspx#7830081</link><pubDate>Wed, 15 Jun 2011 05:38:13 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7830081</guid><dc:creator>nagaraj</dc:creator><description>&lt;p&gt;Hi I have implemented this functionality in sharepoint by webpart and cuatom application page but none of them working&lt;/p&gt;
&lt;p&gt;and after some times i have noticed that the form tag is missing and in the forum it says without form tag the postback information will not get posted but my question in sharepoint application page or webpart by default its using form tag but it should work but its not triggered.&lt;/p&gt;
&lt;p&gt;and even i registered the client script block in master page as well even its not working.could you please tell me what should i do ?&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7830081" width="1" height="1"&gt;</description></item><item><title>re: Uploading multiple files logically via the web</title><link>http://weblogs.asp.net/nathanyorke/archive/2007/12/05/uploading-multiple-files-via-the-web.aspx#7763911</link><pubDate>Tue, 19 Apr 2011 05:53:42 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7763911</guid><dc:creator>Nagaraj</dc:creator><description>&lt;p&gt;I have implemented the same coding in share point for uploading multiple files but i am not able get the alert&lt;/p&gt;
&lt;p&gt;You are about to upload 2 file(s) to localhost. Do you want to continue?&lt;/p&gt;
&lt;p&gt;---------------------------&lt;/p&gt;
&lt;p&gt;Yes &amp;nbsp; No &amp;nbsp; &lt;/p&gt;
&lt;p&gt;after selection of files from the explorer view.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7763911" width="1" height="1"&gt;</description></item><item><title>re: InfoPath form deployed to Sharepoint that reads from config files</title><link>http://weblogs.asp.net/nathanyorke/archive/2007/12/19/infopath-form-deployed-to-sharepoint-reading-from-config-files.aspx#7392708</link><pubDate>Mon, 22 Mar 2010 00:04:38 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7392708</guid><dc:creator>Ianna</dc:creator><description>&lt;p&gt;Give please. Turbulence is life force. It is opportunity. Let's love turbulence and use it for change. Help me! I can not find sites on the: Tooth whitening illinois. I found only this - &amp;lt;a href=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://www.kejd.dk/Members/ClearSkin&amp;quot;&amp;gt;vitamins"&gt;www.kejd.dk/.../ClearSkin&amp;quot;&amp;gt;vitamins&lt;/a&gt; to help clear skin&amp;lt;/a&amp;gt;. Instant products host is below a urea calcium or painting, but is actually such a phone, or is it electric to afford with service? Tooth whitening, whitening away, a acting lung is attracted to get out an kit allergy in the middle and dog. Thanks :mad:. Ianna from Seychelles.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7392708" width="1" height="1"&gt;</description></item><item><title>re: Uploading multiple files logically via the web</title><link>http://weblogs.asp.net/nathanyorke/archive/2007/12/05/uploading-multiple-files-via-the-web.aspx#7282868</link><pubDate>Fri, 18 Dec 2009 07:30:54 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7282868</guid><dc:creator>kulwinder_29</dc:creator><description>&lt;p&gt;This code is working great from local pc, but when i publish my site and try to upload file using published site from another pc then i get following error..&lt;/p&gt;
&lt;p&gt;ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via &amp;lt;identity impersonate=&amp;quot;true&amp;quot;/&amp;gt;, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user. &lt;/p&gt;
&lt;p&gt;To grant ASP.NET access to a file, right-click the file in Explorer, choose &amp;quot;Properties&amp;quot; and select the Security tab. Click &amp;quot;Add&amp;quot; to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7282868" width="1" height="1"&gt;</description></item><item><title>re: Uploading multiple files logically via the web</title><link>http://weblogs.asp.net/nathanyorke/archive/2007/12/05/uploading-multiple-files-via-the-web.aspx#7126967</link><pubDate>Tue, 16 Jun 2009 21:19:53 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7126967</guid><dc:creator>Gerald</dc:creator><description>&lt;p&gt;I've tried this solution, and it works great on systems with Office 2003. &amp;nbsp;The problem I'm seeing now is on systems with Office 2007. &amp;nbsp;I get the red X where the control should be. &amp;nbsp;Any tips would be greatly appreciated.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7126967" width="1" height="1"&gt;</description></item><item><title>re: Uploading multiple files logically via the web</title><link>http://weblogs.asp.net/nathanyorke/archive/2007/12/05/uploading-multiple-files-via-the-web.aspx#6753799</link><pubDate>Tue, 25 Nov 2008 16:59:16 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6753799</guid><dc:creator>gurjeet</dc:creator><description>&lt;p&gt;I got the solution to saving multiple files and the code is as below:&lt;/p&gt;
&lt;p&gt; if (Request.Files.Count &amp;gt; 0)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;HttpPostedFile File = null;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; Request.Files.Count; i++)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;File = Request.Files[i];&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (File != null &amp;amp;&amp;amp; File.FileName != String.Empty &amp;amp;&amp;amp; File.ContentLength &amp;gt; 0)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; File.SaveAs(path of Output dir + File.FileName.Substring(File.FileName.LastIndexOf(@&amp;quot;\&amp;quot;)));&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6753799" width="1" height="1"&gt;</description></item><item><title>re: Uploading multiple files logically via the web</title><link>http://weblogs.asp.net/nathanyorke/archive/2007/12/05/uploading-multiple-files-via-the-web.aspx#6753742</link><pubDate>Tue, 25 Nov 2008 15:46:23 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6753742</guid><dc:creator>gurjeet</dc:creator><description>&lt;p&gt;how to get the filenames(when user selects multiple file)...can some one pls give a small code demo?Thx.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6753742" width="1" height="1"&gt;</description></item><item><title>re: Uploading multiple files logically via the web</title><link>http://weblogs.asp.net/nathanyorke/archive/2007/12/05/uploading-multiple-files-via-the-web.aspx#6269063</link><pubDate>Wed, 11 Jun 2008 21:11:28 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6269063</guid><dc:creator>sourish</dc:creator><description>&lt;p&gt;Hi, This is working fine in my case, but whenever i am putting the control in a content page (inside a content place holder) the file section background is changed to dark blue. Can you solve this problem ?&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6269063" width="1" height="1"&gt;</description></item><item><title>re: Uploading multiple files logically via the web</title><link>http://weblogs.asp.net/nathanyorke/archive/2007/12/05/uploading-multiple-files-via-the-web.aspx#6224159</link><pubDate>Tue, 27 May 2008 09:28:54 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6224159</guid><dc:creator>Jose_SPAIN</dc:creator><description>&lt;p&gt;Does any body know how to cancel the upload event? I mean...I need to check the size of the files. For that pourpose I use C# code (because I don't know how to do it in javascript) and, if the files can&amp;#180;t be uploaded, I've to show an alert message and keep the actual aspx opened (not going to the next one)&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6224159" width="1" height="1"&gt;</description></item></channel></rss>
