House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

cfdirectory

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Stephens, Larry V
10/29/2012 05:00 PM

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?

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Carl Von Stetten
10/29/2012 05:04 PM

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: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
10/30/2012 10:58 AM

> 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. And to add to this, if you don't have CF running as a specific AD account, but as the default (Local System), it will not have rights to any network resources at all and you can't really change that. I recommend you read the CF 9 Lockdown document that's on the Adobe site, and use that as a guide for configuring the service user account. http://www.adobe.com/products/coldfusion/whitepapers/pdf/91025512_cf9_lockdownguide_wp_ue.pdf Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
DURETTE, STEVEN J
10/30/2012 11:03 AM

Sorry to say that link now takes you to the Adobe ColdFusion 10 product page.   -----Original Message----- And to add to this, if you don't have CF running as a specific AD account, but as the default (Local System), it will not have rights to any network resources at all and you can't really change that. I recommend you read the CF 9 Lockdown document that's on the Adobe site, and use that as a guide for configuring the service user account. http://www.adobe.com/products/coldfusion/whitepapers/pdf/91025512_cf9_lockdownguide_wp_ue.pdf Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
10/30/2012 11:28 AM

----- Excess quoted text cut - see Original Post for more ----- Here's the new, improved link: http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/products/coldfusion/pdfs/91025512-cf9-lockdownguide-wp-ue.pdf Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Stephens, Larry V
10/30/2012 09:31 AM

Thanks. We're going to address rights to see if that makes it work. 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: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Stephens, Larry V
10/31/2012 11:46 AM

We have it working now. Thanks. Thanks. We're going to address rights to see if that makes it work. 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: ----- Excess quoted text cut - see Original Post for more -----


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 18, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference