<?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: Get File Name from URL (C#/.NET)</title>
	<atom:link href="http://www.thejackol.com/2007/04/10/get-file-name-from-url-cnet/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thejackol.com/2007/04/10/get-file-name-from-url-cnet/</link>
	<description>01100010 01101100 01100101 01101000</description>
	<lastBuildDate>Tue, 07 Feb 2012 21:10:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: vijai</title>
		<link>http://www.thejackol.com/2007/04/10/get-file-name-from-url-cnet/comment-page-1/#comment-237592</link>
		<dc:creator>vijai</dc:creator>
		<pubDate>Wed, 26 Jan 2011 00:23:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.thejackol.com/2007/04/10/get-file-name-from-url-cnet/#comment-237592</guid>
		<description>Path.GetFileName(url); seems right thanks,</description>
		<content:encoded><![CDATA[<p>Path.GetFileName(url); seems right thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vadim</title>
		<link>http://www.thejackol.com/2007/04/10/get-file-name-from-url-cnet/comment-page-1/#comment-228866</link>
		<dc:creator>Vadim</dc:creator>
		<pubDate>Tue, 28 Sep 2010 07:08:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.thejackol.com/2007/04/10/get-file-name-from-url-cnet/#comment-228866</guid>
		<description>Uri uri = new Uri(url);
string fileName = uri.Segments[uri.Segments.Length-1];</description>
		<content:encoded><![CDATA[<p>Uri uri = new Uri(url);<br />
string fileName = uri.Segments[uri.Segments.Length-1];</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joppe</title>
		<link>http://www.thejackol.com/2007/04/10/get-file-name-from-url-cnet/comment-page-1/#comment-223108</link>
		<dc:creator>Joppe</dc:creator>
		<pubDate>Fri, 05 Feb 2010 10:11:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.thejackol.com/2007/04/10/get-file-name-from-url-cnet/#comment-223108</guid>
		<description>Or: string fileName = Path.GetFileName(url);</description>
		<content:encoded><![CDATA[<p>Or: string fileName = Path.GetFileName(url);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Gaunt</title>
		<link>http://www.thejackol.com/2007/04/10/get-file-name-from-url-cnet/comment-page-1/#comment-66478</link>
		<dc:creator>Tim Gaunt</dc:creator>
		<pubDate>Fri, 22 Jun 2007 16:51:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.thejackol.com/2007/04/10/get-file-name-from-url-cnet/#comment-66478</guid>
		<description>Seeing as you&#039;re not validating the end of the file name you can leave off the length param:

string FileName = URL.Substring(URL.LastIndexOf(”/”) + 1);

HTH

Tim</description>
		<content:encoded><![CDATA[<p>Seeing as you&#8217;re not validating the end of the file name you can leave off the length param:</p>
<p>string FileName = <span class="caps">URL</span>.Substring(<span class="caps">URL</span>.LastIndexOf(”/”) + 1);</p>
<p><span class="caps">HTH</span></p>
<p>Tim</p>
]]></content:encoded>
	</item>
</channel>
</rss>

