RE: CFDIRECTORY question

2004-12-02 Thread Robert Orlini
With your suggestion and a few tweaks it does what I want. Thanks Mike! Robert O. -Original Message- From: Dawson, Michael [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 4:34 PM To: CF-Talk Subject: RE: CFDIRECTORY question Why not just use CFDIRECTORY on each page

CFDIRECTORY question

2004-12-01 Thread Robert Orlini
I have this cfdirectory code (see below) that I want to read a list of directory names and then insert into a table. However, this script will be running each time a user accesses drop-down list. I want to list the current directories and any new directory names that have been added. At this

RE: CFDIRECTORY question

2004-12-01 Thread Dawson, Michael
. Then, put it all together with a Query of Query. You should be able to find the differences between the two. M!ke -Original Message- From: Robert Orlini [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 2:42 PM To: CF-Talk Subject: CFDIRECTORY question I have this cfdirectory

RE: CFDIRECTORY question

2004-12-01 Thread Dawson, Michael
[mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 2:42 PM To: CF-Talk Subject: CFDIRECTORY question I have this cfdirectory code (see below) that I want to read a list of directory names and then insert into a table. However, this script will be running each time a user accesses drop

RE: CFDIRECTORY question

2004-12-01 Thread Andrew Scott
Orlini [mailto:[EMAIL PROTECTED] Sent: Thursday, 2 December 2004 7:42 AM To: CF-Talk Subject: CFDIRECTORY question I have this cfdirectory code (see below) that I want to read a list of directory names and then insert into a table. However, this script will be running each time a user accesses

RE: CFDIRECTORY question

2004-12-01 Thread Dawson, Michael
, but it will reduce the number of data base interactions by two. Six of one, 1/2-dozen of the other... -Original Message- From: Andrew Scott [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 7:49 PM To: CF-Talk Subject: RE: CFDIRECTORY question There are a number of ways

CFDirectory Question

2002-09-09 Thread Larry Juncker
I have a shopping cart that I have created and the images can be either gif or jpg. Since I am dynamically pulling from the images folder, how can I check to see which image exists for a particular item. I am currently doing this: img src=images/#sku#.gif I need to be able to see if #sku#.gif

RE: CFDirectory Question

2002-09-09 Thread Tony Weeg
To: CF-Talk Subject: CFDirectory Question I have a shopping cart that I have created and the images can be either gif or jpg. Since I am dynamically pulling from the images folder, how can I check to see which image exists for a particular item. I am currently doing this: img src=images/#sku#.gif

RE: CFDirectory Question

2002-09-09 Thread Adrian Lynch
]] Sent: 09 September 2002 14:10 To: CF-Talk Subject: CFDirectory Question I have a shopping cart that I have created and the images can be either gif or jpg. Since I am dynamically pulling from the images folder, how can I check to see which image exists for a particular item. I am currently

Re: CFDirectory Question

2002-09-09 Thread Tim Painter
performance problems, but a database solution would or course, be better. Tim P. - Original Message - From: Larry Juncker [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, September 09, 2002 9:10 AM Subject: CFDirectory Question I have a shopping cart that I have created

RE: CFDirectory Question

2002-09-09 Thread Pascal Peters
Use the function FileExists(ExpandPath(images/ sku .gif)) -Original Message- From: Larry Juncker [mailto:[EMAIL PROTECTED]] Sent: maandag 9 september 2002 15:10 To: CF-Talk Subject: CFDirectory Question I have a shopping cart that I have created and the images can be either gif

Re: CFDirectory Question

2002-09-09 Thread S . Isaac Dealey
: CFDirectory Question I have a shopping cart that I have created and the images can be either gif or jpg. Since I am dynamically pulling from the images folder, how can I check to see which image exists for a particular item. I am currently doing this: img src=images/#sku#.gif I need

Re: CFDirectory Question

2002-09-09 Thread Joe Eugene
cfdirectory action = list directory = directory name = queryName filter = *.jpg should do it. // whatever u want to filer.. Joe - Original Message - From: Larry Juncker [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, September 09, 2002 9:10 AM Subject: CFDirectory

Re: CFDirectory Question

2002-09-09 Thread Larry Juncker
[EMAIL PROTECTED] Sent: Monday, September 09, 2002 8:23 AM Subject: Re: CFDirectory Question FileExists(): cfif FileExists(images/#sku#.gif) img src=images/#sku#.gif cfelseif FileExists(images/#sku#.jpg) img src=images/#sku#.gif /cfif Though I'd prefer Tonys method, so you don't

ANother CFDirectory question

2002-01-12 Thread Bruce Sorge
OK, I have another question about CFDirectory. When I output the names of the files, I am seeing three things that are not right. The first file is a period, and the next one is two periods. I am also seeing a file called Thumbs.db. Is this normal? Thanks

Re: ANother CFDirectory question

2002-01-12 Thread Bruce Sorge
PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, January 12, 2002 4:54 PM Subject: ANother CFDirectory question OK, I have another question about CFDirectory. When I output the names of the files, I am seeing three things that are not right. The first file is a period, and the next one

Re: ANother CFDirectory question

2002-01-12 Thread Bruce Sorge
Ahh. Makes sense. So I will just have to account for that then. Thanks. - Original Message - From: Macarie Neculai [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, January 12, 2002 5:00 PM Subject: RE: ANother CFDirectory question Yes, this is normal. The first period

RE: ANother CFDirectory question

2002-01-12 Thread Tony Gruen
: Saturday, January 12, 2002 3:04 PM To: CF-Talk Subject: Re: ANother CFDirectory question Ahh. Makes sense. So I will just have to account for that then. Thanks. - Original Message - From: Macarie Neculai [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, January 12, 2002 5:00 PM

RE: ANother CFDirectory question

2002-01-12 Thread Macarie Neculai
-Original Message- From: Tony Gruen [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 13, 2002 1:12 AM To: CF-Talk Subject: RE: ANother CFDirectory question I got around the pointers using the following code you have to think about the anticipated file naming conventions

RE: ANother CFDirectory question

2002-01-12 Thread Andrew Scott
Why not use the type instead, as it will say file or directory? -Original Message- From: Tony Gruen [mailto:[EMAIL PROTECTED]] Sent: Sunday, 13 January 2002 10:12 AM To: CF-Talk Subject: RE: ANother CFDirectory question I got around the pointers using the following code you have

CFDIRECTORY question

2001-03-27 Thread Jay Brushett
Hi, In an application that I'm working on I place images in a directory based on a department id. So for the name of the directory I am using the id to ensure distinctiveness. My problem is that when an administrator removes a department I also want to remove the directory. Of course this is

Re: CFDIRECTORY question

2001-03-27 Thread W Luke
Message - From: "Jay Brushett" [EMAIL PROTECTED] Newsgroups: dotcom.lists.cftalk Sent: Tuesday, March 27, 2001 5:08 PM Subject: CFDIRECTORY question Hi, In an application that I'm working on I place images in a directory based on a department id. So for the name of the directory

Re: CFDIRECTORY Question -- Simple I Hope !

2001-03-24 Thread Gerry Pauline
erry Pauline [mailto:[EMAIL PROTECTED]] Sent: Friday, March 23, 2001 3:48 PM To: CF-Talk Subject: CFDIRECTORY Question -- Simple I Hope ! CFxperts: I have what seems like a very basic routine, copied almost exactly from the manual: CFDIRECTORY DIRECTORY="c:\InetPub\WWWROOT\"

CFDIRECTORY Question -- Simple I Hope !

2001-03-23 Thread Gerry Pauline
CFxperts: I have what seems like a very basic routine, copied almost exactly from the manual: CFDIRECTORY DIRECTORY="c:\InetPub\WWWROOT\" NAME="DirList" SORT="size DSC" CFOUTPUT QUERY="DirList" CFIF DirList.Type Is "Dir" #DirList.Type#nbsp;nbsp;

[Fwd: CFDIRECTORY Question -- Simple I Hope !]

2001-03-23 Thread Gerry Pauline
CFxperts: Well, I again re-read the manual section on CFDIRECTORY, and for the size parameter it, it states that size is the "size of the directory entry". Sure enough, when I removed the CFIF DirList.Type Is "Dir", the files in the directory had the size in bytes listed. I guess I can get the

RE: CFDIRECTORY Question -- Simple I Hope !

2001-03-23 Thread Adkins, Randy
. -Original Message- From: Gerry Pauline [mailto:[EMAIL PROTECTED]] Sent: Friday, March 23, 2001 3:48 PM To: CF-Talk Subject: CFDIRECTORY Question -- Simple I Hope ! CFxperts: I have what seems like a very basic routine, copied almost exactly from the manual: CFDIRECTORY DIRECTORY=&q

Re: CFDIRECTORY question

2000-09-06 Thread David Shadovitz
You can trim the extension via #ListFirst(qDirectory.Name,".")# (assuming there's only one period per file name). What's wrong with a simple CFQUERYinsert/CFQUERY? -David On Tue, 5 Sep 2000 Jacob McKee [EMAIL PROTECTED] writes: Please help! I need to know how to read all the files in a

CFDIRECTORY question

2000-09-05 Thread Jacob McKee
Please help! I need to know how to read all the files in a directory, trim the .gif or .jpg or what ever extension off and create a database record based on that file name. With the CFDIRECTORY, I can read a list of the files, but I can't get the INSERT to work. I also don't have any idea how