<?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: Read external directory files</title>
	<atom:link href="http://blog.mclaughlinsoftware.com/java-programming/reading-an-external-directory-from-sql-or-plsql/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mclaughlinsoftware.com</link>
	<description>Michael McLaughlin's Technical Blog</description>
	<lastBuildDate>Sat, 13 Mar 2010 22:15:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ravi</title>
		<link>http://blog.mclaughlinsoftware.com/java-programming/reading-an-external-directory-from-sql-or-plsql/comment-page-1/#comment-17989</link>
		<dc:creator>Ravi</dc:creator>
		<pubDate>Thu, 11 Mar 2010 16:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://maclochlainn.wordpress.com/?page_id=30#comment-17989</guid>
		<description>I just wanted to say thank you. It really helped me.</description>
		<content:encoded><![CDATA[<p>I just wanted to say thank you. It really helped me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maclochlainn</title>
		<link>http://blog.mclaughlinsoftware.com/java-programming/reading-an-external-directory-from-sql-or-plsql/comment-page-1/#comment-15033</link>
		<dc:creator>maclochlainn</dc:creator>
		<pubDate>Sun, 17 Jan 2010 00:35:30 +0000</pubDate>
		<guid isPermaLink="false">http://maclochlainn.wordpress.com/?page_id=30#comment-15033</guid>
		<description>I&#039;ll try to test this later in the week.</description>
		<content:encoded><![CDATA[<p>I&#8217;ll try to test this later in the week.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LIGON</title>
		<link>http://blog.mclaughlinsoftware.com/java-programming/reading-an-external-directory-from-sql-or-plsql/comment-page-1/#comment-15029</link>
		<dc:creator>LIGON</dc:creator>
		<pubDate>Sat, 16 Jan 2010 22:51:31 +0000</pubDate>
		<guid isPermaLink="false">http://maclochlainn.wordpress.com/?page_id=30#comment-15029</guid>
		<description>Hi This in align with the question KAYU asked.

I was trying to access another system drive in my home network with path like //somefolder/anotherfolder 

I have granted permissions as well. When I tried 

SELECT column_value list_of_files FROM TABLE(list_files(&#039;\\VAIO4TAJI\share&#039;))

I get no error message, but no results either.

Hope to get some help

Cheers
Ligon</description>
		<content:encoded><![CDATA[<p>Hi This in align with the question KAYU asked.</p>
<p>I was trying to access another system drive in my home network with path like //somefolder/anotherfolder </p>
<p>I have granted permissions as well. When I tried </p>
<p>SELECT column_value list_of_files FROM TABLE(list_files(&#8216;\\VAIO4TAJI\share&#8217;))</p>
<p>I get no error message, but no results either.</p>
<p>Hope to get some help</p>
<p>Cheers<br />
Ligon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maclochlainn</title>
		<link>http://blog.mclaughlinsoftware.com/java-programming/reading-an-external-directory-from-sql-or-plsql/comment-page-1/#comment-10445</link>
		<dc:creator>maclochlainn</dc:creator>
		<pubDate>Tue, 20 Oct 2009 03:38:54 +0000</pubDate>
		<guid isPermaLink="false">http://maclochlainn.wordpress.com/?page_id=30#comment-10445</guid>
		<description>The restriction is probably linked to the domain rights of the user. Is the owner of the remote directly the same Administrative user that owns the installation?</description>
		<content:encoded><![CDATA[<p>The restriction is probably linked to the domain rights of the user. Is the owner of the remote directly the same Administrative user that owns the installation?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KAYU</title>
		<link>http://blog.mclaughlinsoftware.com/java-programming/reading-an-external-directory-from-sql-or-plsql/comment-page-1/#comment-10440</link>
		<dc:creator>KAYU</dc:creator>
		<pubDate>Mon, 19 Oct 2009 23:27:41 +0000</pubDate>
		<guid isPermaLink="false">http://maclochlainn.wordpress.com/?page_id=30#comment-10440</guid>
		<description>Have anyone use this method with a mapped shared drive name?

In all our examples we used the local drive C:\... and it was working fine until I tried to access using a map drive H:. It is pointing to a network share xx on \\Server01\xx.

It throws the exception &quot;Directory permissions restricted&quot;. But I have granted the java permission on H:\...</description>
		<content:encoded><![CDATA[<p>Have anyone use this method with a mapped shared drive name?</p>
<p>In all our examples we used the local drive C:\&#8230; and it was working fine until I tried to access using a map drive H:. It is pointing to a network share xx on \\Server01\xx.</p>
<p>It throws the exception &#8220;Directory permissions restricted&#8221;. But I have granted the java permission on H:\&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bryan</title>
		<link>http://blog.mclaughlinsoftware.com/java-programming/reading-an-external-directory-from-sql-or-plsql/comment-page-1/#comment-7350</link>
		<dc:creator>bryan</dc:creator>
		<pubDate>Fri, 24 Jul 2009 14:47:25 +0000</pubDate>
		<guid isPermaLink="false">http://maclochlainn.wordpress.com/?page_id=30#comment-7350</guid>
		<description>Awesome...  I was pulling my hair out trying to figure out a way to do this.</description>
		<content:encoded><![CDATA[<p>Awesome&#8230;  I was pulling my hair out trying to figure out a way to do this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Orian</title>
		<link>http://blog.mclaughlinsoftware.com/java-programming/reading-an-external-directory-from-sql-or-plsql/comment-page-1/#comment-3901</link>
		<dc:creator>Orian</dc:creator>
		<pubDate>Mon, 04 May 2009 13:39:28 +0000</pubDate>
		<guid isPermaLink="false">http://maclochlainn.wordpress.com/?page_id=30#comment-3901</guid>
		<description>thanks a lot.

u really saved my bacon ...</description>
		<content:encoded><![CDATA[<p>thanks a lot.</p>
<p>u really saved my bacon &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maclochlainn</title>
		<link>http://blog.mclaughlinsoftware.com/java-programming/reading-an-external-directory-from-sql-or-plsql/comment-page-1/#comment-438</link>
		<dc:creator>maclochlainn</dc:creator>
		<pubDate>Wed, 24 Dec 2008 04:23:59 +0000</pubDate>
		<guid isPermaLink="false">http://maclochlainn.wordpress.com/?page_id=30#comment-438</guid>
		<description>Eliseo,

I&#039;d thought the one-liner about changing the catch block answered the question, but thanks for letting me know that it didn&#039;t do the trick. I modified the blog page with a bit more information.

You simply change the catch block as follows, and it will ignore the empty directory and act like a no rows returned cursor.

&lt;pre lang=&quot;JAVA&quot;&gt;
    catch (AccessControlException e) {}
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Eliseo,</p>
<p>I&#8217;d thought the one-liner about changing the catch block answered the question, but thanks for letting me know that it didn&#8217;t do the trick. I modified the blog page with a bit more information.</p>
<p>You simply change the catch block as follows, and it will ignore the empty directory and act like a no rows returned cursor.</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">    <span style="color: #000000; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span><span style="color: #003399;">AccessControlException</span> e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: Eliseo Hernandez</title>
		<link>http://blog.mclaughlinsoftware.com/java-programming/reading-an-external-directory-from-sql-or-plsql/comment-page-1/#comment-431</link>
		<dc:creator>Eliseo Hernandez</dc:creator>
		<pubDate>Tue, 23 Dec 2008 12:07:56 +0000</pubDate>
		<guid isPermaLink="false">http://maclochlainn.wordpress.com/?page_id=30#comment-431</guid>
		<description>Hi,

Thanks for the code. It works well, but how can this code handle a directory that is empty? We&#039;d like to simply ignore it and not have it throw the message: &quot;a java null point exception has ocurred....&quot;

Thanks.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for the code. It works well, but how can this code handle a directory that is empty? We&#8217;d like to simply ignore it and not have it throw the message: &#8220;a java null point exception has ocurred&#8230;.&#8221;</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iman Mayes</title>
		<link>http://blog.mclaughlinsoftware.com/java-programming/reading-an-external-directory-from-sql-or-plsql/comment-page-1/#comment-356</link>
		<dc:creator>Iman Mayes</dc:creator>
		<pubDate>Wed, 10 Dec 2008 19:56:46 +0000</pubDate>
		<guid isPermaLink="false">http://maclochlainn.wordpress.com/?page_id=30#comment-356</guid>
		<description>Hi,

This literally saved my a$$ from a lot of pain. I cannot believe that PL/SQL has a UTIL_FILE package for file manipulation but no direct way to list files in a directory!

Thanks!!!

Iman</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>This literally saved my a$$ from a lot of pain. I cannot believe that PL/SQL has a UTIL_FILE package for file manipulation but no direct way to list files in a directory!</p>
<p>Thanks!!!</p>
<p>Iman</p>
]]></content:encoded>
	</item>
</channel>
</rss>
