it into a custom query object and using queries
of queries. So loop over the
cfdirectory output inserting into a new query object that has file
extension as a column and use a call
like (filename,listLen(filename,.)-1,.) to retrieve the
extension. Once it's stored it's a simple matter
It does, unfortunately it doesn't have the file extension as part of the
object, so you'll need to add that column
to the query object and run through the results separating the file name and
filee xtension out to then sort by
either column interchangeably.
Good point! Sometimes I forget
Can anyone point to an easy way to sort the display of CFDIRECTORY
filenames by file extension, and then perhaps by name?
-- Rick.
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology
Interesting...
You might be able to use a query of queries after you gotten the file list...
Or you might recourse the directory to get the extension then do a separate
query on each extension.
That's an interesting question... I'm going to watch for what others say.
Robert Harrison
I'd look at putting it into a custom query object and using queries of queries.
So loop over the cfdirectory output inserting into a new query object that has
file extension as a column and use a call like
listGetAt(filename,listLen(filename,.)-1,.) to retrieve the extension.
Once it's
I'd look at putting it into a custom query object and using queries of
queries. So loop over the
cfdirectory output inserting into a new query object that has file extension
as a column and use a call
like (filename,listLen(filename,.)-1,.) to retrieve the extension. Once
it's stored
I finally solved the problem this way:
1. if the page nb. does not exists:
cfheader statuscode=404 statustext=Page not found
CFABORT
2. in IIS I defined a URL to be called in case of error 404, this page displays
a friendly message, then it also has to declare
cfheader statuscode=404
I think you replied to the wrong thread there
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/113032480415921517411
On Thu, Jul 31, 2014 at 11:49 AM, wrote:
I finally solved the problem this way:
1. if the page nb. does not exists:
I think you replied to the wrong thread there
Ooops... sorry ;-)
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
I have some code that's been working for years, but recently starting to act
strange.
Simple cfdirectory looking in a particular folder and listing out some files.
Users are saying there are files in there and when I go in and check, there
are! Cfdirectory returns me 0, no errors
wrote:
I have some code that's been working for years, but recently starting to
act strange.
Simple cfdirectory looking in a particular folder and listing out some
files. Users are saying there are files in there and when I go in and
check, there are! Cfdirectory returns me 0, no errors
Architect
HostMySite.com
On Jun 13, 2014 6:38 PM, Tim Do t...@wng.com wrote:
I have some code that's been working for years, but recently starting to
act strange.
Simple cfdirectory looking in a particular folder and listing out some
files. Users are saying there are files in there and when
We have it working now. Thanks.
-Original Message-
From: Stephens, Larry V [mailto:steph...@iu.edu]
Sent: Tuesday, October 30, 2012 9:32 AM
To: cf-talk
Subject: RE: cfdirectory
Thanks. We're going to address rights to see if that makes it work.
-Original Message-
From
Thanks. We're going to address rights to see if that makes it work.
-Original Message-
From: Carl Von Stetten [mailto:vonner.li...@vonner.net]
Sent: Monday, October 29, 2012 5:04 PM
To: cf-talk
Subject: Re: cfdirectory
This should work, so you need to address the rights issue
This should work, so you need to address the rights issue. What Windows
user account is the ColdFusion service running under? If you have it
running as a specific Active Directory account, you need to modify the
fileserver folder to grant Read access to that account.
And to add to this, if
Sorry to say that link now takes you to the Adobe ColdFusion 10 product page.
-Original Message-
And to add to this, if you don't have CF running as a specific AD
account, but as the default (Local System), it will not have rights to
any network resources at all and you can't really
And to add to this, if you don't have CF running as a specific AD
account, but as the default (Local System), it will not have rights to
any network resources at all and you can't really change that.
I recommend you read the CF 9 Lockdown document that's on the Adobe
site, and use
Running CF10 on IIS7.5 on Windows server 2008R2 on Server Z
Filerserver (O) running on 2008R2
I want to do a cfdirectory to the fileserver to list the contents of a
directory.
Directory=\\UNC\path... name=MyDir (where \\UNC\path... relates to the
fileserver) yields nothing when I dump MyDir
2:00 PM, Stephens, Larry V wrote:
Running CF10 on IIS7.5 on Windows server 2008R2 on Server Z
Filerserver (O) running on 2008R2
I want to do a cfdirectory to the fileserver to list the contents of a
directory.
Directory=\\UNC\path... name=MyDir (where \\UNC\path... relates
c:\coldfusion\runtime\lib\wsconfig
or just edit the handler mappings in IIS to see where it points.
On Wed, Jul 13, 2011 at 12:28 AM, Dave Watts dwa...@figleaf.com wrote:
The ISAPI extensions used by CF... If I used the web connector to tie CF
to
IIS do you perchance know where those
it
mapped from the CF server. But when I run cfdirectory calls, for lists
it
returns an empty query even if there are subfolders or files there,
for
rename calls it claims that the target subfolder doesn't exist, and
for
create calls it simply errors: the specified directory could
If it's a totally dedicated box and we only have 1 developer's code running,
is it still a security risk?
Yes, absolutely.
I tried running it as a limited account and even set full permissions on
every file in the
webroot but still got an immediate IIS 500 error until I flipped it to
Thanks Dave!
I'll try that out tonight.
The ISAPI extensions used by CF... If I used the web connector to tie CF to
IIS do you perchance know where those might be? Just now switching over from
Apache and kind of blind on stuff like this.
On Tue, Jul 12, 2011 at 4:50 PM, Dave Watts
The ISAPI extensions used by CF... If I used the web connector to tie CF to
IIS do you perchance know where those might be? Just now switching over from
Apache and kind of blind on stuff like this.
Typically, they're in the CF install directory somewhere, in the
wsconfig folder.
Dave Watts,
I've triple checked that an empty folder on a 2nd server in the same
datacenter allows full write permissions for any type of user, and have it
mapped from the CF server. But when I run cfdirectory calls, for lists it
returns an empty query even if there are subfolders or files there, for
rename
checked that an empty folder on a 2nd server in the same
datacenter allows full write permissions for any type of user, and have it
mapped from the CF server. But when I run cfdirectory calls, for lists it
returns an empty query even if there are subfolders or files there, for
rename calls
datacenter allows full write permissions for any type of user, and have it
mapped from the CF server. But when I run cfdirectory calls, for lists it
returns an empty query even if there are subfolders or files there, for
rename calls it claims that the target subfolder doesn't exist, and for
create
for any type of user, and have
it
mapped from the CF server. But when I run cfdirectory calls, for lists
it
returns an empty query even if there are subfolders or files there, for
rename calls it claims that the target subfolder doesn't exist, and for
create calls it simply errors
It just might help if I pasted in the code.sorry.
What am I doing wrong here as nothing shows up even with debugging turned
on.
The S drive is a mapped network drive.
If mapped drive is the issue, is there any way around it?
Terry
cfset dir=s:\
cfdirectory
action=list
directory
What am I doing wrong here as nothing shows up even with debugging turned on.
The S drive is a mapped network drive. If mapped drive is the issue, is there
any way around it?
By default, there are two problems with using mapped drives from CF.
First, CF runs as SYSTEM by default, and SYSTEM
By default, there are two problems with using mapped drives
from CF.
Anyone know if those two tips are in the official documentation anywhere? I
looked, but may have missed it ..
~|
Order the Adobe Coldfusion Anthology now!
By default, there are two problems with using mapped drives
from CF.
Anyone know if those two tips are in the official documentation anywhere? I
looked, but may have missed it ..
I would expect that they aren't. They're really not specific to CF,
but rather to how Windows and services
They're really not
specific to CF,
but rather to how Windows and services work.
True. But the cfdirectory + mapped drive question comes up frequently. Seems
worthy of a trouble-shooting note or a comment at least.
~|
Order
Hello Everyone!
I'm trying to use the cfdirectory to see if a image file exists on my remote
server.
Here is my code:
cfdirectory action=list directory=C:/Websites/176663mf4/images/rad_images/
filter=#PartNumber#.jpg name=myFileList
Hi,
Try recordCount instead of rowCount.
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
That was it Thanks!!!
On Wed, Nov 17, 2010 at 10:15 AM, wrote:
Hi,
Try recordCount instead of rowCount.
~|
Order the Adobe Coldfusion Anthology now!
Hi all,
The task at hand is to find a series of orphaned folders. I want to delete all
folders in a certain directory which do not have a matching DB record.
I was wondering if this is possible (or accept any other tips):
I have a 'query' which is the result of a cfdirectory action=list. I
Message
Subject: Query of query with cfdirectory
From: Stefan Richter ste...@flashcomguru.com
Date: Tue, November 17, 2009 10:13 am
To: cf-talk cf-talk@houseoffusion.com
Hi all,
The task at hand is to find a series of orphaned folders. I want to
delete all folders in a certain directory which
Thank you.
With the help of a friend we've now come up with this which seems to do the job:
cfquery datasource=datasource name=getSlides
SELECT myslide from slides
/cfquery
cfdirectory action=list directory=C:\uploadsdir name=uploads
cfquery dbtype=query name=orphans
SELECT
Single quotes. Single quotes. (sigh) Thanks, Barney.
The answer is that I needed the result to be consistent with what I've been
doing manually for two years: creating directories and index.cfm files on the
web server to get URLs like www.example.com/go/myURL. I wanted to create a
quick
Before I dive in, can anyone point me to a good rewrite script that would
give me: www.example.com/go/myURL
If you're using Apache, mod_rewrite. If IIS, then isapi_rewrite.
I've not used the latter as Apache is all I use, Linux and Windows.
In either case, you just need this (roughly):
Hi, all.
I've been out of coding for too long and I can't figure this one out.
Simple, really: using CFDIRECTORY and CFFILE, I want to create a folder, drop
in an index.cfm file, then put a cflocation tag in that index.cfm file.
!--- create directory ---
cfdirectory action=CREATE directory=d
Will this work?
cfset myLongPath = http://my.long.path.com/;
cfset fileContents = cflocation url= myLongPath
addtoken=false /
cffile action=WRITE file=d:\test\#newDirectory#\index.cfm
output=#fileContents # /
~Brad
Original Message
Subject: using cffile and cfdirectory
wrote:
Hi, all.
I've been out of coding for too long and I can't figure this one out.
Simple, really: using CFDIRECTORY and CFFILE, I want to create a folder, drop
in an index.cfm file, then put a cflocation tag in that index.cfm file.
!--- create directory ---
cfdirectory action=CREATE
Further, you almost certainly want to be doing a 301
instead of a 302 to the long URL, which CFLOCATION
doesn't provide. If you opt to continue down this
route, probably want to use CFHEADER instead.
CFLOCATION supports a statusCode attribute as of ColdFusion 8 which you can
use to return a
Actually, as of CF8, CFLOCATION does support status codes other than 302:
http://www.cfquickdocs.com/cf8/?getDoc=cflocation
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/
2009/3/27 Barney Boisvert bboisv...@gmail.com:
Further, you almost certainly want to be
Well would you look at that. Must be learnin' week for Barney this
week. Thanks for pointing that out, guys.
cheers,
barneyb
On 3/26/09, James Holmes james.hol...@gmail.com wrote:
Actually, as of CF8, CFLOCATION does support status codes other than 302:
/user:username
Interesting, that does make a successful connection. I logged into the CF
server with the CFService account and used the following:
net use z: \\192.168.1.160\share1 12345678 /user:CFService /persistent:yes
It creates the Drive Z, which I am using in the CFDirectory command
:[EMAIL PROTECTED]
Sent: Monday, November 24, 2008 7:01 PM
To: cf-talk
Subject: Re: cfdirectory directory to a another server
Yes, Since I created matching accounts on the two servers, say CFService
and using the same passwords. Even gave the admin privelages so I could log
in with that account
In my example, it may be referred to as: \\server1\CFService.
Then, on \\server2\share, grant access to \\server1\CFService.
That is where the problem is. When trying to give the user from server1
permission on server2, and you click on the Locations button, only the
current server is
On Tue, Nov 25, 2008 at 6:28 AM, Jeffrey Lemire [EMAIL PROTECTED]
wrote:
Have you tried something like \\192.168.1.100\d$\ (d$ representing the
root
drive you're trying to access)
Shares are usually associated with login accounts.
Yep, tried every possible combination I could think of.
Try using server\CFService (Use the other slash)
Mike
-Original Message-
From: Dan O'Keefe [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 25, 2008 9:04 AM
To: cf-talk
Subject: Re: cfdirectory directory to a another server
In my example, it may be referred to as: \\server1
On Tue, Nov 25, 2008 at 10:47 AM, Dawson, Michael [EMAIL PROTECTED]wrote:
Try using server\CFService (Use the other slash)
Mike
That was a type on my part, but just to be sure I tried it again. The Name
not found dialog states The following object is not from a domain listed
in the select
That was a type on my part, but just to be sure I tried it again. The Name
not found dialog states The following object is not from a domain listed
in the select location dialog box, and is therefore not valid.
I'm pretty sure you can't refer to local accounts on one machine from
another
On Tue, Nov 25, 2008 at 3:37 PM, Dave Watts [EMAIL PROTECTED] wrote:
That was a type on my part, but just to be sure I tried it again. The
Name
not found dialog states The following object is not from a domain
listed
in the select location dialog box, and is therefore not valid.
I'm
That was my conclusion as well - only way it can work is if a domain is
involved.
It is possible, however, to use credentials that aren't valid locally
to connect to a remote server:
net use * \\server\share password /user:username
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Hi everyone,
I have a webpage that list everything in a particular folder, see code...
cfdirectory action=LIST name=qCurrent directory=d:\saprepository\current
sort=datelastmodified desc
I want to change the directory to be another server. The CF Docs show this but
it's not working...I don't
patrick buch wrote:
cfdirectory directory=//12.3.123.123/c_drive/ name=dirQuery
action=LIST
Any suggestions?
The user that ColdFusion runs under must have domain permissions to read
from the remote system over the network. The default windows user
localsystem' that the ColdFusion
I have a webpage that list everything in a particular folder, see code...
cfdirectory action=LIST name=qCurrent
directory=d:\saprepository\current sort=datelastmodified desc
I want to change the directory to be another server. The CF Docs show this
but it's not working...I don't get any
to be
written to, but that did not work wither. Tried both a mapped drive and UNC.
--
Dan O'Keefe
On Mon, Nov 24, 2008 at 5:14 PM, patrick buch [EMAIL PROTECTED]wrote:
Hi everyone,
I have a webpage that list everything in a particular folder, see code...
cfdirectory action=LIST
On Mon, Nov 24, 2008 at 4:14 PM, patrick buch [EMAIL PROTECTED]wrote:
Hi everyone,
I have a webpage that list everything in a particular folder, see code...
cfdirectory action=LIST name=qCurrent
directory=d:\saprepository\current sort=datelastmodified desc
I want to change the directory
I tried this recently myself without success. In my scenario, I had 2 Win2K3
standalone servers (not in a domain), so I could not give rights to a folder
on one server from the other. I tried matching up user account passwords
that the CF Service used to login and applied the rights to the
Yes, Since I created matching accounts on the two servers, say CFService
and using the same passwords. Even gave the admin privelages so I could log
in with that account and test the share by going to \\192.168.1.100\sharname.
That was successful, but flat out would not work in CF 8.01.
Dan
On
\CFService.
Mike
_
From: Dan O'Keefe [mailto:[EMAIL PROTECTED]
Sent: Mon 11/24/2008 4:34 PM
To: cf-talk
Subject: Re: cfdirectory directory to a another server
I tried this recently myself without success. In my scenario, I had 2 Win2K3
standalone servers (not in a domain), so I could
I am retriving the file system. From now i need to select a file and populate
the name of the file to the input box
cfform format=html action=#cgi.Script_Name#
cfset test=CreateObject(component,Erik.Navigation).directory()
cftree name=Test_Tree width=300 height=300
cfloop query=test
I seem to not be able to access a mapped network drive with CFDIRECTORY and
CFCONTENT.
The CF7 app needs to be able to access/manage a store of PDF files and display
them in the user's browser.
Everything works great as long as the PDF files are located in a folder on a
drive directly
I haven't done it with the actual drive letter of a mapped network drive but
we upload and read files at work all the time with a UNC path since our
storage server is a separate machine. Have you tried that instead?
Eg. \\[ipaddress or computer name]\sharename
I will try cfdirectory
permissions to anything it needs to access.
Chris Peterson
-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2008 6:57 AM
To: CF-Talk
Subject: RE: Is it possible to access network drives with CFDIRECTORY
and CFCONTENT
I haven't done
have
no CFML). How do I dump out the cfdirectory list?
Thanks
Here is my code:
cfcomponent
cffunction name=onAdd
cffile action=write file=c:/testlog6.txt output=Here I am back to
sssrootasasay
CFDIRECTORY Directory= c:/mylocaldir/dropoff NAME=DropoffDir
ACTION=List
CFTABLE
dump out the cfdirectory query?
Thanks
Here is my code:
cfcomponent
cffunction name=onAdd
cffile action=write file=c:/testlog6.txt output=Here I am back to
sssrootasasay
CFDIRECTORY Directory= c:/mylocaldir/dropoff NAME=DropoffDir ACTION=List
CFTABLE QUERY=DropoffDir HTMLTABLE
dump out the cfdirectory list?
Thanks
Here is my code:
cfcomponent
cffunction name=onAdd
cffile action=write file=c:/testlog6.txt output=Here I am back to
sssrootasasay
CFDIRECTORY Directory= c:/mylocaldir/dropoff NAME=DropoffDir ACTION=List
CFTABLE QUERY=DropoffDir HTMLTABLE
names)
whatever whatever.txt (two spaces between names)
and if you do CFDIRECTORY in this directory, the NAME column will list
both files as:
whatever whatever.txt
whatever whatever.txt
I can't possibly be the first one to notice this, right? And somebody
must have a workaround
Running CFMX7.0.2. Not sure if this applies to other versions, but have you
noticed that if you have two files in a directory, say:
whatever whatever.txt (one space between names)
whatever whatever.txt (two spaces between names)
and if you do CFDIRECTORY in this directory, the NAME column
whatever.txt (two spaces between names)
and if you do CFDIRECTORY in this directory, the NAME column will list
both files as:
whatever whatever.txt
whatever whatever.txt
I can't possibly be the first one to notice this, right? And somebody
must have a workaround...right? Please? Pretty
to other versions, but have
you noticed that if you have two files in a directory, say:
whatever whatever.txt (one space between names)
whatever whatever.txt (two spaces between names)
and if you do CFDIRECTORY in this directory, the NAME column will list both
files as:
whatever whatever.txt
by a browser unless a markup that overrides this expected behavior
is use, such as the pre.../pre or code.../code tags or using the
nbsp; (non-breaking space) entity in the string.
I.E. try the following HTML page and see the exact same thing without
any ColdFusion, let alone the cfdirectory
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
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
Robert Harrison wrote:
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
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
On Fri, May 2, 2008 at 3:46 PM, Don L [EMAIL PROTECTED] wrote:
cfdirectory directory=e:\blabla\bla2bla2\ action=list
name=juiceFile type=file sort=directory DESC
the Sort attribute failed (it did not list files in z to a order).
'directory' is only for recursive CFDIRECTORY calls. You
Oddities with this tag (OS=XP Professional):
cfdirectory directory=e:\blabla\bla2bla2\ action=list name=juiceFile
type=file sort=directory DESC
the Sort attribute failed (it did not list files in z to a order).
cfdirectory directory=e:\blabla\bla2bla2\ action=list name=juiceFile
type=file
On Fri, May 2, 2008 at 3:46 PM, Don L [EMAIL PROTECTED] wrote:
cfdirectory directory=e:\blabla\bla2bla2\ action=list name=juiceFile
type=file sort=directory DESC
the Sort attribute failed (it did not list files in z to a order).
'directory' is only for recursive CFDIRECTORY calls. You want
a domain account
with full permissions on the share. What else am I missing? I installed CF8
on another server just to test and I get the same errors. I am trying to use
cfdirectory action=create and all cffile actions that move or copy files to
the shares. I am on windows 2003 with IIS6
Are you by chance using a path relative to the old installation of CF7?
~Brad
-Original Message-
From: Tim Lancaster [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 22, 2008 12:43 PM
To: CF-Talk
Subject: Cffile and cfdirectory in CF 8
I just upgraded from CF7 Standard to CF8 Enterprise
missing? I installed CF8 on another server just to test and I
get the same errors. I am trying to use cfdirectory action=create
and all cffile actions that move or copy files to the shares. I am on
windows 2003 with IIS6.
~|
Adobe
Actually I misstated that I upgraded, it is a completely new
installation. I have a mapped drive in widows pointing to a
share on another server.
Are you sure you configured the new installation to run as the appropriate
user instead of SYSTEM?
If you use a UNC path instead of a mapped
Dave,
Thanks for the reply,
Yes I have setup a user account with all appropriate right to run CF and access
the shares. And interestingly, the UNC path does work. Do you know of a
reason why mapped drives wouldn't work when they did in CF 7 and earlier?
Tim
Actually I misstated that I
Yes I have setup a user account with all appropriate right to
run CF and access the shares. And interestingly, the UNC
path does work. Do you know of a reason why mapped drives
wouldn't work when they did in CF 7 and earlier?
Perhaps the mapping isn't available for that user. Try logging
I have tried that and I can access the drive, create, modify and delete as per
the given rights. This has been an issue with any drive that is mapped to
share on another server, none of them work anymore with CF 8.
Yes I have setup a user account with all appropriate right to
run CF and
Is it just me or does this produce an error for everyone?
cfdirectory action=create directory=C:\NUL\
It's the word NUL that's giving CF 7.0.2 the heebie-jeebies. It's not able
to create it. Any workarounds?
- Sung
It seems to be a Windows problem: at least on XP I can't create/rename a
folder to NUL doing it manually
-Original Message-
From: Sung Woo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2008 2:49 PM
To: CF-Talk
Subject: CFDIRECTORY NUL bug
Is it just me or does this produce
: at least on XP I can't create/rename a
folder to NUL doing it manually
-Original Message-
From: Sung Woo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2008 2:49 PM
To: CF-Talk
Subject: CFDIRECTORY NUL bug
Is it just me or does this produce an error for everyone
: Wednesday, April 02, 2008 2:49 PM
To: CF-Talk
Subject: CFDIRECTORY NUL bug
Is it just me or does this produce an error for everyone?
cfdirectory action=create directory=C:\NUL\
It's the word NUL that's giving CF 7.0.2 the heebie-jeebies. It's not
able to create it. Any
Can I add a URL to the #name# field displaying on a cfdirectory?
I want the user to be able to list the .doc files and then click on the doc
files listed to display them.
Thanks.
RO
HWW
cfdirectory
directory=#GetDirectoryFromPath(GetTemplatePath())#
name=myDirectory
action=list
PROTECTED] wrote:
Can I add a URL to the #name# field displaying on a cfdirectory?
I want the user to be able to list the .doc files and then click on the doc
files listed to display them.
Thanks.
RO
HWW
cfdirectory
directory=#GetDirectoryFromPath(GetTemplatePath())#
name=myDirectory
Can I add a URL to the #name# field displaying on a cfdirectory?
I want the user to be able to list the .doc files and then
click on the doc files listed to display them.
Thanks.
RO
HWW
cfdirectory
directory=#GetDirectoryFromPath(GetTemplatePath())#
name=myDirectory
filter=*.jpg|*.gif|*.png
No way.
As the docs says: One filter can be applied.
Only one filter, with ? or * wild characters, A la DOS, or even A la
CP/M should I say...
But with CFX_ListDir, this will work using attribute
EXTENSIONS = *.jpg,*.gif,*.png
--
I use CFDIRECTORY all the time to scan the image library for various
maintenance purposes. I want to read and list only image files. These may be
.jpg, .gif, or .png, yet CFDIRECTORY can only filter on one file type.
Does anyone know of a way I can extend the file filter and get what I want
I use CFDIRECTORY all the time to scan the image library for various
maintenance purposes. I want to read and list only image files. These may be
..jpg, .gif, or .png, yet CFDIRECTORY can only filter on one file type.
Does anyone know of a way I can extend the file filter and get what I want
1 - 100 of 628 matches
Mail list logo