webmaster wrote:
I'm trying to do a cfdirectory across our network from the server to a
mapped drive (i.e. the H:\ drive)
Everthing works fine on the locals but I get nothing back on the mapped
drive.
Am I missing something in the doc about not being able to do this ?
Have a look
ext. 1305
-Original Message-
From: webmaster [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 11, 2001 9:05 AM
To: CF-Talk
Subject: CFDirectory and Network
I'm trying to do a cfdirectory across our network from the server to a
mapped drive (i.e. the H:\ drive)
Everthing works fine
Jeff,
Thanks a million - that did the trick !
Richard
- Original Message -
From: Garza, Jeff [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, December 11, 2001 7:23 AM
Subject: RE: CFDirectory and Network
Make sure the account that CF is running under (system
At 03:01 PM 12/12/2001, you wrote:
Is it possible to keep the Dir Types out of my query for cfdirectory?
With a filter maybe? This is what I got's:
cfdirectory name=myQueryName action=LIST
directory=#request.Path.FileDir#filez\
and it returns:
., .., file01, file02, file03, etc. Can I throw
I did it this way...
Set the query here...
cfdirectory action=LIST directory=d:\folder\subfolder
name=Qry_Show_Folder
Show the files without directories here...
select name=Cmb_FolderView size=9
cfoutput query=Qry_Show_Folder
cfif #type# neq Dir
cfdirectory action=LIST directory=#whatever# name=GetFiles
cfoutput query=GetFiles
cfif type is FILE
#name# #size# #dateLastModified#br
/cfif
/cfoutput
jon
- Original Message -
From: Tyler Silcox [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, December 11
I'm scanning the Javascript Bible here, and the web, but can't get the right
resource in order to leverage what I need to do.
I'd basically like the user to interface with their own drives, list
directories, read files, i.e text/xml/csv etc using the browser and JS, from
a website.
Can
I don't know about IE, but I know signed JavaScript can do this in
Netscape. Although the last time I worked w/ signed JS in Netscape, it
was a nightmare. No, most nightmares are a walk in the park, a nice walk
on a sunny day, compared to the hell I went through to get signed JS
working. (The
most, if not all our clients prefer and use MS(ie).
jmc
..
..
-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 1:22 PM
To: CF-Talk
Subject: RE: Equivalent of cfdirectory and cffile for client side
programming
I don't know about IE, but I
CFDIRECTORY can only give you a file listing, along with some additional
file information such as size and date last modified. You'd need to read
each of those html files using CFFILE and build a query of your own, placing
the file contents into rows of the table. You could cache this query, I
I was wondering if some of you can give me a hand. I have a directory full
of html files that are produced by a cgi script. I want to be able to search
the html files without using a verity search. Is it possible to query the
contents of the html files using cfdirectory then search that query
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14, 2001 10:36 AM
To: CF-Talk
Subject: Using CFDirectory to Search html files
I was wondering if some of you can give me a hand. I have a directory full
of html files that are produced by a cgi script. I want to be able to search
the html files
, Jeff [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14, 2001 12:48 PM
To: CF-Talk
Subject: RE: Using CFDirectory to Search html files
If you are using CF 5.0, why not use the Verity Site Spider? We just got it
up and running on our site and it absoultely rocks.
Jeff Garza
Lead Developer
Lancaster [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14, 2001 12:12 PM
To: CF-Talk
Subject: RE: Using CFDirectory to Search html files
How does the site spider work and how do I set it up?
Steven Lancaster
WebMaster
Core Laboratories
6316 Windfern
Houston, TX 77040
713-328-2532
, November 14, 2001 12:55 PM
To: CF-Talk
Subject: RE: Using CFDirectory to Search html files
Where can I find some info on Verity Site Spider, I briefly looked in the CF
5.0 Admin panel and I can't find anything that refers to Verity Site Spider.
I did find some info at verity.com though.
Thanks
Having a problem here on our live site.
Within an admin section users can create and delete directories.
All directories created can be deleted fine,
that is until the software developers make an FTP upload to the site
tunneling from visual studio.
All temp directories created before this
...then
cfdirectory name=queryName ...
!--- Create a new structure for each column of info you want ---
cfset Session.stDirFileName = StructNew()
cfset Session.stDirFileSize = StructNew()
cfset RecNo=1!--- set an index counter ---
cfoutput query=queryName
cfset stDirFileName[RecNo] = Name
cfset
My hosting company for my domain disables several CF tags for security
reasons due to the server being shared. These include CFDIRECTORY and
CFFILE.
What replacements and workarounds do you use if you have the same type
of limitation?
My hosting company already has installed the custom tags
Using the session-scoped structure gives you the ability to transfer the
CFDIRECTORY results to the other template. What you ask about now is how to
use the selection made to index into this structure.
I would have to see the code you use to create the menus. As I recall,
those menus you pop
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 26, 2001 11:44 AM
To: CF-Talk
Subject: CFDIRECTORY replacements
My hosting company for my domain disables several CF tags for security
reasons due to the server being shared. These include CFDIRECTORY and
CFFILE.
What replacements
Now I'm really confused.
All the javascript menu does is load different template files.
I need to pass the filename that the user clicks on from the list created
by the cfdirectory...cfoutput query=dirlist
and your array stuff to the template that the menu loads.
Attached is my code.
Any
;
//--
/script
/head
body bgcolor=#FF text=#00 leftmargin=0 topmargin=0
marginwidth=0 marginheight=0 link=#FF vlink=#FF
alink=#FF
link rel=STYLESHEET type=text/css
href=cfoutput#stylesheets#styles.css/cfoutput
cfparam name=dir default=d:\books\aosl
cfoutput
cfdirectory action=LIST
again for ALL your help.
At 11:44 AM 9/24/01 -0700, you wrote:
Make sure you have session management activated...then
cfdirectory name=queryName ...
!--- Create a new structure for each column of info you want ---
cfset Session.stDirFileName = StructNew()
cfset Session.stDirFileSize = StructNew
Opps.
Forgot to attach the screen captures.
At 11:44 AM 9/24/01 -0700, you wrote:
Make sure you have session management activated...then
cfdirectory name=queryName ...
!--- Create a new structure for each column of info you want ---
cfset Session.stDirFileName = StructNew()
cfset
questions but this is kinda over my head.
Thanks again for ALL your help.
Date: Tue, 25 Sep 2001 14:08:39 -0400
To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Subject: Re: Passing the results from the CFDIRECTORY to another template?
Opps.
Forgot to attach the screen captures.
At 11:44 AM 9/24
the CFDIRECTORY to another
template?
Opps.
Forgot to attach the screen captures.
OK.
It seems I have it working properly now. See attached screen captures.
How would I check which link was clicked (RecNo) and match that against
the
(RecNo) in the fileinfo.cfm (template) and display the filename
Subject: Re: Passing the results from the CFDIRECTORY to another template?
Hi Bruce,
Could there be a syntax error in the code below? This is the error I keep
getting. Below the error I've attached my test file. I've removed the
javascript for the popup menu. I want to get your code working
How can I pass the results from the CFDIRECTORY to another template?
Name
Size
Type..etc
~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail
into a structure or array,
scope it as a Session variable, then reference it on the next template.
Bruce
[EMAIL PROTECTED]
- Original Message -
From: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, September 24, 2001 10:00 AM
Subject: Re: Passing the results from the CFDIRECTORY to another
Hi,
You could save them in a session variable or pass them in a form field.
Kevin
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 24 September 2001 18:01
To: CF-Talk
Subject: Re: Passing the results from the CFDIRECTORY to another
template?
How can I pass
At 10:28 AM 9/24/01 -0700, you wrote:
There are multiple ways to pass it. What directory info are you wanting to
pass?
All the information from the CFDIRECTORY Name, Type etc.
You can pass info from one template to another via:
Session vars
Client vars
Application vars
I'm dumping the session variables but something strange is happening.
cfparam name=dir default=d:\
cfdirectory action=LIST directory=#dir# name=dirlist
cfoutput query=dirlist
table border=0 cellpadding=0 cellspacing=0
width=100% height=20
Make sure you have session management activated...then
cfdirectory name=queryName ...
!--- Create a new structure for each column of info you want ---
cfset Session.stDirFileName = StructNew()
cfset Session.stDirFileSize = StructNew()
cfset RecNo=1!--- set an index counter ---
cfoutput query
7:33 PM
Subject: Siily question re CFDIRECTORY and downloads
I have a large mp3 collection that I want to make downloadable to good
friends. I have CFDIRECTORY listing the files OK but I am having
difficulty
making them downloadable. I know this is really silly question but how do
I
allow
marginwidth=0 marginheight=0 link=#FF vlink=#FF
alink=#FF
cfparam name=dir default=d:\
cfdirectory action=LIST directory=#dir# name=dirlist
cfset variables.lastdir = dirlist.recordcount
!--- Directory Listing ---
cfoutput query=dirlist
cfif type eq Dir
cfif left(name,1) neq .
cfif dirlist.name
the last file in the listing as a
directory even though it is a file?
Try it out. Make sure you have some text files in your root directory.
cfparam name=dir default=d:\
cfoutput
CFDIRECTORY ACTION=LIST DIRECTORY=#dir# NAME=test
cfset testCount = 0
cfloop query=test
cfset temp = ValueList
.
==
You wrote:
For some reason the code below lists the last file in the listing as a
directory even though it is a file?
Try it out. Make sure you have some text files in your root directory.
cfparam name=dir default=d:\
cfoutput
CFDIRECTORY ACTION=LIST DIRECTORY=#dir# NAME=test
cfset
I have a large mp3 collection that I want to make downloadable to good
friends. I have CFDIRECTORY listing the files OK but I am having difficulty
making them downloadable. I know this is really silly question but how do I
allow users to download the files by clicking them?
Kind Regards - Mike
-To: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Subject: Siily question re CFDIRECTORY and downloads
Date: Tue, 14 Aug 2001 16:33:43 -0700
Received: from [207.31.122.190] by hotmail.com (3.2) with ESMTP id
MHotMailBD430078002E40043714CF1F7ABE0FAF0; Tue, 14 Aug 2001 16:34:21 -0700
Received: from
). this way your browser will
automatically start download as soon as they are clicked.
HTH,
Nelson
Original Message Follows
From: Mike Brunt [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Subject: Siily question re CFDIRECTORY and downloads
Date: Tue, 14 Aug
For some reason the code below lists the last file in the listing as a
directory even though it is a file?
Try it out. Make sure you have some text files in your root directory.
cfparam name=dir default=d:\
cfoutput
CFDIRECTORY ACTION=LIST DIRECTORY=#dir# NAME=test
cfset testCount = 0
try this..
cfparam name=dir default=d:\
cfoutput
CFDIRECTORY ACTION=LIST DIRECTORY=#dir# NAME=test
cfset testCount = 0
cfset temp =
cfloop query=test
cfif type eq Dir and not ( name is . or name is .. )
cfset temp = listappend(temp,#name#)
cfset testCount
That's it!
Thanks a million Craig!
At 04:49 PM 8/13/01 +0100, you wrote:
try this..
cfparam name=dir default=d:\
cfoutput
CFDIRECTORY ACTION=LIST DIRECTORY=#dir# NAME=test
cfset testCount = 0
cfset temp =
cfloop query=test
cfif type eq Dir and not ( name is . or name
dir2
dir3
dir4
dir5
dir6
dir7
dir8
Below is is your snippet along with my CFDIRECTORY
!--- set indent ---
cfset indent = nbsp;nbsp;nbsp;
html
head
meta http-equiv=content-type
content=text/html;charset=iso-8859-1
titleN/title
/head
body bgcolor=#FF text=#00
Hi,
I'm using the following tag to list a directory structure.
CFPARAM NAME=dir DEFAULT=d:\
CFDIRECTORY ACTION=LIST DIRECTORY=#dir# NAME=dirlist
I also have a INPUT field where I can type in *.txt and it will list all
of the files with a .txt extension.
When I click on the Filter button I
When I try to delete or rename a folder with cfdirectory it sometimes gives
me an error message saying that the folder access is denied. Is there any
work-around to this problem?
thanks for any help.
~~
Structure your ColdFusion code
Subject: cfdirectory delete
When I try to delete or rename a folder with cfdirectory it sometimes gives
me an error message saying that the folder access is denied. Is there any
work-around to this problem?
thanks for any help.
~~
Structure your
Hi all-
I am having an issue with CFDirectory. The issue is that I have all my
..cfm files one server, on the same server I have a virtual directory set up
in IIS that links over to files on a different server on the same network.
All the files that I want to list using thecfdirectory tag
Brian,
I set up the CF service to run under a specific name. Then give that
user rights to the directories on the server where I want to list. Create a
share for that user on those servers and use UNC to get to the directory.
e.g
cfdirectory name=qryGetFiles directory=\\ServerName\Share
Cold Fusion doesn't know that you have a virtual directory in IIS - that
only works via HTTP requests (AFAIK). You either have to map the drive, or
use the full unc path \\server\share\directory\files (though I think
CFDirectory can have problems with that too)
I am having an issue
know that you have a virtual directory in IIS - that
only works via HTTP requests (AFAIK). You either have to map the drive, or
use the full unc path \\server\share\directory\files (though I think
CFDirectory can have problems with that too)
I am having an issue with CFDirectory. The issue
How can I keep the . and the .. from showing when I display the contents of
a directory?
Joshua Tipton
~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives:
Do a simple CFIF
Here's what I've used..
CFOUTPUT QUERY="ListOrders"
CFIF NAME IS "." OR NAME IS ".."
CFELSE
A HREF="#WebRoot#Orders/#NAME#"#NAME#/ABR
/CFIF
/CFOUTPUT
Where "ListOrders" is the name of my CFDIRECTORY query.
HTH,
Ju
f you're displaying it alpha order (standard), then . and .. are always at
the top. CFDIRECTORY returns a query object, so just skip the first two
records using the startrow="" property.
-Original Message-
From: Joshua Tipton [mailto:[EMAIL PROTECTED]]
Sent: April 14, 2001 14
)#/b /td
td width=50% align="center"font face="Arial" COLOR="#mF_COL1#"
SIZE="2"
b#DateFormat(DateLastModified)#
#TimeFormat(DateLastModified)#/b/td
/tr
/CFIF
/CFOUTPUT
^
/ \__
(@\___
/ O
/(_/
/_/
Whoof...
410
Can i delete a directory and all of its contents? Im deleting a record from
inventory, then im trying to use cfdirectory to delete the directory storing
all images associated with a product. I get this error:
The directory specified: (C:\Inetpub\wwwroot\cahaba\sub_images\162\) could
There is a custom tag in the Allaire site called
CF_DELETEDIRECTORY that lets you delete a directory that has content in
it.
Rich
-Original Message-
From: Ron Dennis [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 12, 2001 6:24 PM
To: CF-Talk
Subject: cfdirectory - delete
Can i
Recursion revisited:
Having a tag call itself is a wonderful way to really get things done!
filename: folderList.cfm
CFDIRECTORY DIRECTORY="#attributes.folderPath#" NAME="fol
Is it possible to run CFDIRECTORY against a directory on another machine
other than the CF server?
I can't seem to get it to output.
~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com
Is it possible to run CFDIRECTORY against a directory on another machine
other than the CF server?
Perfectly possible as long as you either access it through a mapped drive,
or give the server network privileges and use a UNC path.
We do it through mapped drives here, since we are leery
:
Is it possible to run CFDIRECTORY against a directory on another machine
other than the CF server?
Perfectly possible as long as you either access it through a mapped drive,
or give the server network privileges and use a UNC path.
We do it through mapped drives here, since we are leery of letting
, there are only two things I can remember having
problems with on a mapped drive:
1) The DirectoryExists() function doesn't work on it (it finds
subdirectories, but doesn't treat the root level of the mapped drive as a
directory). So we had code along the lines of if the directory X:\ exists,
do a CFDIRECTORY
) The DirectoryExists() function doesn't work on it (it finds
subdirectories, but doesn't treat the root level of the mapped drive as a
directory). So we had code along the lines of if the directory X:\ exists,
do a CFDIRECTORY, and the code never executed. We fixed that by dropping a
dummy file
this is not difficult but just before the directory delete I
delete all of the images stored in that directory. The CFDIRECTORY tag
cannot complete since the OS is still deleting the images and returns an
error saying the directory is not empty.
Can I use CFLOCK or such for this?
Any assistance would
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
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\"
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 DirLi
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 liste
.
-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
I am trying to use CFDIRECTORY against a mapped drive in a server and it
seems to not be giving me any results. Is this a possibility or a
limitation of Cold Fusion.
Any help would be appreciated.
Thanks,
Robert
~~
Structure your ColdFusion
I am trying to use CFDIRECTORY against a mapped drive in a server and it
seems to not be giving me any results. Is this a possibility or a
limitation of Cold Fusion.
What user is the ColdFusion service logging in on? If that user doesn't
naturally have the mapped drive, then it won't work
inFusion Mail Server (iMS) - the World's most configurable mail server
Get your free copy of iMS POST-SE Server from CoolFusion!
- Original Message -
From: [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Sunday, February 25, 2001 12:34 PM
Subject: CFDIRECTORY and Mapped D
As a general rule, use URNs for remote drives
\\Server\Share\Directory rather than E:\Directory
UNC, not URN, D'OH! Stupid Philip, Stupid!
Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133
"Websites for the real world"
Thanks for the help!!!
I got it working now,
Robert
- Original Message -
From: "Philip Arnold - ASP" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Sunday, February 25, 2001 1:02 PM
Subject: RE: CFDIRECTORY and Mapped Drives
As a general rule, use UR
has anyone used a cfx tag replacement for cfdirectory. All I want to do is
list directories and files and the cfdirectory tag is too processor
intensive. I downloaded cfx_dirlister but cf complains the library for the
tag can not be found, I assume It didn't get compiled with the appropriate
-490-4692
AIM: astutiaweb; ICQ: 7381282; Firetalk: Ag78
-Original Message-
From: Bryan LaPlante [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 7:42 PM
To: CF-Talk
Subject: CFDIRECTORY replacement
has anyone used a cfx tag replacement for cfdirectory. All I want to do
the ones with the cf_ are just using cfdirectory to do the work. I need
something written in c++ or java that runs much faster than the native
cfdirectory. But thanks.
- Original Message -
From: "Chris Montgomery" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTEC
has anyone used a cfx tag replacement for cfdirectory. All I want to do is
list directories and files and the cfdirectory tag is too processor
intensive. I downloaded cfx_dirlister but cf complains the library for the
tag can not be found, I assume It didn't get compiled
htmlDIV
PHas anyone used lt;CFDIRECTORYgt; and/or lt;CFFILEgt; trying to access files on
a different computer or from a website? The DIRECTORY attribute allows you to put
http, https, or ftp, but I can't get it to work. Same with lt;CFFILEgt;. Any help
would be great. Thanks in advance.
CF_Edit_Out_HTML_Formatting
Has anyone used CFDIRECTORY and/or CFFILE
trying to access files on a different computer or from a website?
The DIRECTORY attribute allows you to put http, https, or ftp,
but I can't get it to work. Same with CFFILE. Any help
would be great. Thanks in advance
Help! I've been using the CFDIRECTORY tag on an NT box to list directories
under my web site's home dir that start with "pics_". I just recently moved
my entire site to a Linux box (running Redhat 7), and now the query always
returns empty. I can match entire directory names or
uot; [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Sunday, January 21, 2001 12:33 PM
Subject: CFDIRECTORY on Redhat 7.0??
Help! I've been using the CFDIRECTORY tag on an NT box to list
directories
under my web site's home dir that start with "pics_". I just rece
PROTECTED]]
Sent: Sunday, January 21, 2001 11:39 AM
To: CF-Talk
Subject: Re: CFDIRECTORY on Redhat 7.0??
Linux is case sensitive so /home/sites/mysite.com/ is not the same as
/Home/Sites/Mysite.com/ and "pics" is not the same as "Pics". So, I would
make sure to match the case o
your code a test on a RH 6.x machine if you
have one available.
Debbie
-Original Message-
From: Daniel Wm Brick III [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 21, 2001 2:43 PM
To: CF-Talk
Subject: RE: CFDIRECTORY on Redhat 7.0??
Thanks, that had ocurred to me. I've made
Thank you - that was it!
Make sure that CFAS is running under an account that has access to those
resources.
By default CFAS runs under the system account which does not have network
access to mapped drives.
Jeff Garza
I am trying to access an network drive through CFDIRECTORY
I am trying to access an network drive through CFDIRECTORY. I've tried
"\\Myshare\somedir" as well as the drive letter, all to no avail. Is it
possible at all?
Thanks for any suggestions.
Alexander Apartsev
just me design
[EMAIL PROTECTED]
~ Paid Sponsorship
Developer/Webmaster
Spectrum Astro, Inc.
480.892.8200
[EMAIL PROTECTED]
http://www.spectrumastro.com
-Original Message-
From: Alexander Apartsev [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 29, 2000 4:12 PM
To: CF-Talk
Subject: network drives and cfdirectory
I am trying to access
I have the following code in a page. It works just fine on one of our
servers running 4.0, but won't work on our other server running 4.5. Yes,
CFDIRECTORY is enabled. Any suggestions?
CFDIRECTORY ACTION="LIST"
DIRECTORY="\\phoenix\sys\gvdb\download\wa
Does the CF 4.5 instance have the right permissions to access the shared
directory?
-Original Message-
From: Sandi Benditt [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 01, 2000 12:00 PM
To: CF-Talk
Subject: CFDIRECTORY
I have the following code in a page. It works just fine
I have the following code in a page. It works just fine on
one of our servers running 4.0, but won't work on our other
server running 4.5. Yes, CFDIRECTORY is enabled. Any
suggestions?
CFDIRECTORY ACTION="LIST"
DIRECTORY="\\phoenix\sys\gvdb\download\wa
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
Is there any way doing this...
CFDIRECTORY
ACTION="LIST"
DIRECTORY="C:\somedir\"
FILTER="*.rsp,*.req"
NAME="DirectoryListing"
SORT="DATELASTMODIFIED DESC"
so you can get a listing of all .rsp and .req files in a directory?
T
ultiple file filters for CFDIRECTORY
Is there any way doing this...
CFDIRECTORY
ACTION="LIST"
DIRECTORY="C:\somedir\"
FILTER="*.rsp,*.req"
NAME="DirectoryListing"
SORT="DATELASTMODIFIED DESC"
so you can get a listing of
BTW, BF says you can provide a comma-delimited list for the SORT attribute.
This works fine:
SORT="DateLastModifed DESC"
and so does this:
SORT="Name ASC"
but this doesn't give you the secondary sort (ie it's the same as the first
example):
SORT="DateLastModifed DESC, Name
F +44 (0)1642 702119
W www.sapphire.net
-Original Message-
From: Aidan Whitehall [SMTP:[EMAIL PROTECTED]]
Sent: Friday, October 13, 2000 12:12 PM
To: CF-Talk
Subject: RE: Multiple file filters for CFDIRECTORY
BTW, BF says you can provide a comma-delimited list
Chances are that the DateLastModified is also taking into
account the TIME
too - are all the files time and datestamped the same? (i.e. 10/10/00
12:00)?
Ahh, of course... that's probably it.
Quick thinking Batman. Thanks.
--
Aidan Whitehall [EMAIL PROTECTED]
Netshopper UK Ltd
Advanced
Wanted to do the same thing, final workaround was to use a new cfdirectory
for each desired file type, then the display shows each group. Not elegant
but it does get the info.
Richard
-Original Message-
From: Aidan Whitehall [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 13, 2000 3
I have an administrative interface that uses CFDIRECTORY to rename and
delete directories. It seems that NT won't allow those operations if
a web-user has caused the application to read any of the templates in
the directory in question within the past (apprx) 60 seconds, and CF
throws an error
TED]]
Sent: Monday, October 02, 2000 4:10 PM
To: CF-Talk
Subject: cfdirectory listing,
I am looking for some direction, here is the problem
The page allows the user to select the directory and a specific file to
delete. I want to exclude specific groups of file like *.cfm from the
listing (
Thanks David,
Number 2 worked well combined with several 'or's in an if stmt.
Richard
-Original Message-
From: Hayes, David [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 03, 2000 7:51 AM
To: CF-Talk
Subject: RE: cfdirectory listing,
A few ideas:
1) Make a list of the filenames
501 - 600 of 628 matches
Mail list logo