This should work, so you need to address the rights issue.  What Windows 
user account is the ColdFusion service running under?  If you have it 
running as a specific Active Directory account, you need to modify the 
fileserver folder to grant Read access to that account.

-Carl V.

On 10/29/2012 2:00 PM, Stephens, Larry V wrote:
> Running CF10 on IIS7.5 on Windows server 2008R2 on Server Z
>
> Filerserver (O) running on 2008R2
>
> I want to do a cfdirectory to the fileserver to list the contents of a 
> directory.
>
> Directory="\\UNC\path..." name="MyDir" (where \\UNC\path... relates to the 
> fileserver) yields nothing when I dump MyDir.
>
> We found a note at 
> http://www.asadesigner.com/16-coldfusion/c1788fe8b3536edc.htm tells us this 
> is a rights issue.
>
> (I'm wanting to list the contents of a specific sub-directory, the name of 
> which I can determine programmatically - and would be photos - so I can 
> display a list of those images and allow my user to click a constructed link 
> and see the image.)
>
> Other than cfdirectory, is there a good way to display a directory listing 
> that comes back as query results that I can loop and display on a page? 
> Incorporate something in C? In vbScript?
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353018
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to