RE: CFDIRECTORY FILTER MX

2002-11-27 Thread Sam Roach
Posting this again I still can't figure it out.

thanks,
-- Sam


-Original Message-
From: Sam Roach [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 26, 2002 9:50 AM
To: CF-Talk
Subject: CFDIRECTORY FILTER MX


I need a little help with the CFDIRECTORY tag...

This used to work fine in cold fusion 5. But in MX it returns to many files.

CFDIRECTORY DIRECTORY=d:\inetpub\wwwroot\tempdir\
NAME=myDirectory FILTER=*0?.html
SORT=datelastmodified, name ASC

This returns the same results as *0*.html ... But What I need it only one
character between the '0' and the '.html'. 

EX:
myreport01.html  -- I want this file listed
myreport01_data.html  -- But not this one..
myreport02.html  -- I want this file listed
myreport02_data.html  -- not this one..

-- Sam

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: CFDIRECTORY FILTER MX

2002-11-27 Thread webguy
If so, it looks like a bug or a undocumented change in MX, in MX they
dropped the listing of . and ..

I work around is to do 

CFDIRECTORY DIRECTORY=d:\inetpub\wwwroot\tempdir\
NAME=myDirectory FILTER=*0?.html
SORT=datelastmodified, name ASC

cfloop query=myDirectory...

cfif ReFind(.*0.\.html$,myDirectory.name) ! something like that ---

You should report the bug 

WG

 -Original Message-
 From: Sam Roach [mailto:[EMAIL PROTECTED]]
 Sent: 27 November 2002 17:46
 To: CF-Talk
 Subject: RE: CFDIRECTORY FILTER MX


 Posting this again I still can't figure it out.

 thanks,
 -- Sam


 -Original Message-
 From: Sam Roach [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, November 26, 2002 9:50 AM
 To: CF-Talk
 Subject: CFDIRECTORY FILTER MX


 I need a little help with the CFDIRECTORY tag...

 This used to work fine in cold fusion 5. But in MX it returns to
 many files.

   CFDIRECTORY DIRECTORY=d:\inetpub\wwwroot\tempdir\
   NAME=myDirectory FILTER=*0?.html
   SORT=datelastmodified, name ASC

 This returns the same results as *0*.html ... But What I need it only one
 character between the '0' and the '.html'.

 EX:
   myreport01.html  -- I want this file listed
   myreport01_data.html  -- But not this one..
   myreport02.html  -- I want this file listed
   myreport02_data.html  -- not this one..

 -- Sam

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: CFDIRECTORY FILTER MX

2002-11-27 Thread S . Isaac Dealey
I always used ListFind(.,..,mydirectory.name)

 If so, it looks like a bug or a undocumented change in MX, in MX they
 dropped the listing of . and ..

 I work around is to do 

 CFDIRECTORY DIRECTORY=d:\inetpub\wwwroot\tempdir\
   NAME=myDirectory FILTER=*0?.html
   SORT=datelastmodified, name ASC

 cfloop query=myDirectory...

 cfif ReFind(.*0.\.html$,myDirectory.name) ! something like that
 ---

 You should report the bug 

 WG

 -Original Message-
 From: Sam Roach [mailto:[EMAIL PROTECTED]]
 Sent: 27 November 2002 17:46
 To: CF-Talk
 Subject: RE: CFDIRECTORY FILTER MX


 Posting this again I still can't figure it out.

 thanks,
 -- Sam


 -Original Message-
 From: Sam Roach [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, November 26, 2002 9:50 AM
 To: CF-Talk
 Subject: CFDIRECTORY FILTER MX


 I need a little help with the CFDIRECTORY tag...

 This used to work fine in cold fusion 5. But in MX it returns to
 many files.

  CFDIRECTORY DIRECTORY=d:\inetpub\wwwroot\tempdir\
  NAME=myDirectory FILTER=*0?.html
  SORT=datelastmodified, name ASC

 This returns the same results as *0*.html ... But What I need it only one
 character between the '0' and the '.html'.

 EX:
  myreport01.html  -- I want this file listed
  myreport01_data.html  -- But not this one..
  myreport02.html  -- I want this file listed
  myreport02_data.html  -- not this one..

 -- Sam


 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: CFDIRECTORY FILTER MX

2002-11-27 Thread Rob Rohan
It's a documented change. It's in the migrating to CFMX hand book.

Rob

http://treebeard.sourceforge.net
http://ruinworld.sourceforge.net
Scientia Est Potentia

-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 27, 2002 11:06 AM
To: CF-Talk
Subject: RE: CFDIRECTORY FILTER MX


I always used ListFind(.,..,mydirectory.name)

 If so, it looks like a bug or a undocumented change in MX, in MX they
 dropped the listing of . and ..

 I work around is to do 

 CFDIRECTORY DIRECTORY=d:\inetpub\wwwroot\tempdir\
   NAME=myDirectory FILTER=*0?.html
   SORT=datelastmodified, name ASC

 cfloop query=myDirectory...

 cfif ReFind(.*0.\.html$,myDirectory.name) ! something like that
 ---

 You should report the bug 

 WG

 -Original Message-
 From: Sam Roach [mailto:[EMAIL PROTECTED]]
 Sent: 27 November 2002 17:46
 To: CF-Talk
 Subject: RE: CFDIRECTORY FILTER MX


 Posting this again I still can't figure it out.

 thanks,
 -- Sam


 -Original Message-
 From: Sam Roach [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, November 26, 2002 9:50 AM
 To: CF-Talk
 Subject: CFDIRECTORY FILTER MX


 I need a little help with the CFDIRECTORY tag...

 This used to work fine in cold fusion 5. But in MX it returns to
 many files.

  CFDIRECTORY DIRECTORY=d:\inetpub\wwwroot\tempdir\
  NAME=myDirectory FILTER=*0?.html
  SORT=datelastmodified, name ASC

 This returns the same results as *0*.html ... But What I need it only one
 character between the '0' and the '.html'.

 EX:
  myreport01.html  -- I want this file listed
  myreport01_data.html  -- But not this one..
  myreport02.html  -- I want this file listed
  myreport02_data.html  -- not this one..

 -- Sam




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



CFDIRECTORY FILTER MX

2002-11-26 Thread Sam Roach
I need a little help with the CFDIRECTORY tag...

This used to work fine in cold fusion 5. But in MX it returns to many files.

CFDIRECTORY DIRECTORY=d:\inetpub\wwwroot\tempdir\
NAME=myDirectory FILTER=*0?.html
SORT=datelastmodified, name ASC

This returns the same results as *0*.html ... But What I need it only one
character between the '0' and the '.html'. 

EX:
myreport01.html  -- I want this file listed
myreport01_data.html  -- But not this one..
myreport02.html  -- I want this file listed
myreport02_data.html  -- not this one..

-- Sam
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com