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

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

CFDIRECTORY / CFFILE

  << Previous Post |  RSS |  Tree View |  Sort Oldest First |  Subscribe to this Group Next >> 

CFDIRECTORY / CFFILE

> I want to recurse the known directory and get the name of every file and Massimo Foti 05/21/2008 02:27 PM
Robert Harrison wrote: Ian Skinner 05/21/2008 02:10 PM
This seems like it should be easy but I must be missing something. Robert Harrison 05/21/2008 01:57 PM
This seems like it should be easy but I must be missing something. Robert Harrison 05/21/2008 12:53 PM

05/21/2008 02:27 PM
Author: Massimo Foti Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56482#305838 > I want to recurse the known directory and get the name of every file and > the > FULL PATH to each file. How do I get the FULL PATH returned to me? You could try this CFC: http://www.massimocorner.com/coldfusion/cfc/tmt_file_io.zip You can use this method: getFileList(directoryPath, true) Hope it will help ---------------------------- Massimo Foti, web-programmer for hire Tools for ColdFusion, JavaScript and Dreamweaver: http://www.massimocorner.com ----------------------------
05/21/2008 02:10 PM
Author: Ian Skinner Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56482#305834 Robert Harrison wrote: ----- Excess quoted text cut - see Original Post for more ----- Did you try dumping the query i.e. <cfdump var="dlist">. Does the directory column in the query not get you where you need to do.  Yes it is not the full path, but combined with the known path it should get your there.
05/21/2008 01:57 PM
Author: Robert Harrison Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56482#305832 This seems like it should be easy but I must be missing something. I have a known directory with a bunch of unknown subdirectories and possibly more unknown subdirectories in them. I want to recurse the known directory and get the name of every file and the FULL PATH to each file. How do I get the FULL PATH returned to me?   <cfdirectory action="list" name="dlist" directory="#mypath#" recurse="yes"> I get back all the file names, but I can't tell what directories they are in. Any thoughts? Thanks Robert B. Harrison Director of Interactive services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be &.
05/21/2008 12:53 PM
Author: Robert Harrison Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56482#305828 This seems like it should be easy but I must be missing something. I have a known directory with a bunch of unknown subdirectories, and possibly more unknown subdirectories in them. I want to recurse the known directory and get the name of every file and the FULL PATH to each file. How do I get the FULL PATH returned to me?   <cfdirectory action="list" name="dlist" directory="#mypath#" recurse="yes"> I get back all the file names, but I can't tell what directories they are in. Any thoughts? Thanks Robert B. Harrison Director of Interactive services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be &.
<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   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