expressed by Reed Exhibitions.
Visit our website at http://www.reedexpo.com
-Original Message-
From: Scott Stroz
To: CF-Talk
Sent: Wed May 23 22:45:46 2007
Subject: Re: CFDirectory Help
Shot in the dark:
cfif NOT DirectoryExists(root\#FORM.username#)
On 5/23/07, Joel Watson [EMAIL PROTECTED
@houseoffusion.com
Sent: Thursday, May 24, 2007 8:41 AM
Subject: Re: CFDirectory Help
Thanks for the tip--this UDF is pretty cool.
Unfortunately, it doesn't solve my problem, for even if it returns false,
the cfdirectory tag continues to be run, throwing an error when the
directory exists
I have an upload form that writes files to directories which have the same name
as the users uploading the files.
I want to be able to check and see if the directory exists after the upload
form is submitted, and if it does not exist, create it and then upload the file
to it.
Right now, I
Shot in the dark:
cfif NOT DirectoryExists(root\#FORM.username#)
On 5/23/07, Joel Watson [EMAIL PROTECTED] wrote:
I have an upload form that writes files to directories which have the same
name as the users uploading the files.
I want to be able to check and see if the directory exists
-Original Message-
From: Scott Stroz
To: CF-Talk
Sent: Wed May 23 22:45:46 2007
Subject: Re: CFDirectory Help
Shot in the dark:
cfif NOT DirectoryExists(root\#FORM.username#)
On 5/23/07, Joel Watson [EMAIL PROTECTED] wrote:
I have an upload form that writes files to directories which
If you pass to the display page the forward and back values,
and then click forward or back, how are you going to know
what the next next or previous previous values are.
I would instead suggest that on the display page you again do
a cfdirectory, and then grab the previous and next
i am using cfdirectory to display some thumbnails. when a thumbnail is
clicked - it then displays the larger version of the image. what i would
like to do is pass a few variables in the link that will allow 2 more links
to appear on the 'larger version' image page. those 2 links would be 'file
, 2003 12:06 PM
Subject: cfdirectory help - photo album
i am using cfdirectory to display some thumbnails. when a thumbnail is
clicked - it then displays the larger version of the image. what i would
like to do is pass a few variables in the link that will allow 2 more
links
to appear
Yes. Don't do this.
=)
If you pass to the display page the forward and back values, and then click forward or
back, how are you going to know what the next next or previous previous values are.
I would instead suggest that on the display page you again do a cfdirectory, and then
grab the
How can I have CF set up a new image directory for uploads once a day?
I know how to use the Cfdirectory tag but how can I make sure it only runs
once a day?
Thanks,
Rich
~~
Structure your ColdFusion code with Fusebox. Get the official book at
PM
Subject: cfdirectory -- help.
hi.
Im new to this list...ive been looking for a list like this for
ages...obviously I haven't looked too hard otherwise I would've
found this a while ago!
Anywho...my issue is this:
cfdirectory action="list" directory="c:\somedirectory\"
na
hi.
Im new to this list...ive been looking for a list like this for
ages...obviously I haven't looked too hard otherwise I would've
found this a while ago!
Anywho...my issue is this:
cfdirectory action="list" directory="c:\somedirectory\"
name="??" sort="name"
what should go in the name
Anywho...my issue is this:
cfdirectory action="list" directory="c:\somedirectory\"
name="??" sort="name"
what should go in the name value ? especially if I want to
list the entire contents of the directory.
The name can be whatever you want it to be. You use the name to reference
the
"name" is just the name of the cfdirectory result set.. so if you
named it "MyCFDir", you would loop over the results with a regular
cfoutput or cfloop:
cfloop query="MyCFDir"
/cfloop
note that a cfdirectory will return "." and ".." every time... I always
forget that one and test for
"name" is a variable name you want to be able to use to reference the results, which
function as a query. ie, to list file names:
cfdirectory action="list" directory="c:\somedirectory\"
name="dirlist" sort="name"
cfoutput query="dirlist"
#name#
/cfoutput
--
Billy Cravens
[EMAIL PROTECTED]
ess Email: [EMAIL PROTECTED]
Business URL: http://www.fusioneers.com
ICQ: 346566
--
-Original Message-
From: miles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 22, 2000 11:21 AM
To: [EMAIL PROTECTED]
Subject: cfdirectory -- help.
hi.
Im new to this list...ive been looking
16 matches
Mail list logo