Re: Sort by file extension in CFDIRECTORY

2014-07-31 Thread Nick Voss
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

Re: Sort by file extension in CFDIRECTORY

2014-07-31 Thread Dave Watts
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

Sort by file extension in CFDIRECTORY

2014-07-30 Thread Richard Colman
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

RE: Sort by file extension in CFDIRECTORY

2014-07-30 Thread Robert Harrison
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

Re: Sort by file extension in CFDIRECTORY

2014-07-30 Thread Nick Voss
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

Re: Sort by file extension in CFDIRECTORY

2014-07-30 Thread Dave Watts
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

Re: Sort by file extension in CFDIRECTORY

2014-07-30 Thread Claude Schnéegans
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

Re: Sort by file extension in CFDIRECTORY

2014-07-30 Thread Andrew Scott
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:

Re: Sort by file extension in CFDIRECTORY

2014-07-30 Thread Claude Schnéegans
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:

cfdirectory issue

2014-06-13 Thread Tim Do
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

Re: cfdirectory issue

2014-06-13 Thread Russ Michaels
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

Re: cfdirectory issue

2014-06-13 Thread Byron Mann
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

RE: cfdirectory

2012-10-31 Thread Stephens, Larry V
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

RE: cfdirectory

2012-10-30 Thread Stephens, Larry V
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

Re: cfdirectory

2012-10-30 Thread Dave Watts
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

RE: cfdirectory

2012-10-30 Thread DURETTE, STEVEN J
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

Re: cfdirectory

2012-10-30 Thread Dave Watts
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

cfdirectory

2012-10-29 Thread Stephens, Larry V
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

Re: cfdirectory

2012-10-29 Thread Carl Von Stetten
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

Re: CFDirectory on mapped drives

2011-07-13 Thread Russ Michaels
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

Re: CFDirectory on mapped drives

2011-07-12 Thread Russ Michaels
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

Re: CFDirectory on mapped drives

2011-07-12 Thread Dave Watts
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

Re: CFDirectory on mapped drives

2011-07-12 Thread David McGuigan
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

Re: CFDirectory on mapped drives

2011-07-12 Thread 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,

CFDirectory on mapped drives

2011-07-11 Thread David McGuigan
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

Re: CFDirectory on mapped drives

2011-07-11 Thread Russ Michaels
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

Re: CFDirectory on mapped drives

2011-07-11 Thread Russ Michaels
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

Re: CFDirectory on mapped drives

2011-07-11 Thread David McGuigan
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

CFDIRECTORY of a mapped network drive

2011-06-29 Thread Terry Troxel
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

Re: CFDIRECTORY of a mapped network drive

2011-06-29 Thread Dave Watts
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

Re: CFDIRECTORY of a mapped network drive

2011-06-29 Thread Leigh
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!

Re: CFDIRECTORY of a mapped network drive

2011-06-29 Thread Dave Watts
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

Re: CFDIRECTORY of a mapped network drive

2011-06-29 Thread Leigh
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

cfdirectory -- Element ROWCOUNT is undefined in MYFILELIST.

2010-11-17 Thread Aaron Renfroe
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

Re: cfdirectory -- Element ROWCOUNT is undefined in MYFILELIST.

2010-11-17 Thread Claude Schnéegans
Hi, Try recordCount instead of rowCount. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Re: cfdirectory -- Element ROWCOUNT is undefined in MYFILELIST.

2010-11-17 Thread Aaron M Renfroe
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!

Query of query with cfdirectory

2009-11-17 Thread Stefan Richter
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

RE: Query of query with cfdirectory

2009-11-17 Thread brad
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

Re: Query of query with cfdirectory

2009-11-17 Thread Stefan Richter
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

Re: using cffile and cfdirectory to create tinyURL-style aliases

2009-03-27 Thread Cameron Johnson
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

Re: using cffile and cfdirectory to create tinyURL-style aliases

2009-03-27 Thread Barney Boisvert
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):

using cffile and cfdirectory to create tinyURL-style aliases

2009-03-26 Thread Cameron Johnson
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

RE: using cffile and cfdirectory to create tinyURL-style aliases

2009-03-26 Thread brad
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

Re: using cffile and cfdirectory to create tinyURL-style aliases

2009-03-26 Thread Barney Boisvert
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

RE: using cffile and cfdirectory to create tinyURL-style aliases

2009-03-26 Thread Justin Scott
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

Re: using cffile and cfdirectory to create tinyURL-style aliases

2009-03-26 Thread James Holmes
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

Re: using cffile and cfdirectory to create tinyURL-style aliases

2009-03-26 Thread Barney Boisvert
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:

Re: cfdirectory directory to a another server

2008-11-26 Thread Dan O'Keefe
/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

RE: cfdirectory directory to a another server

2008-11-25 Thread Jeffrey Lemire
:[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

Re: cfdirectory directory to a another server

2008-11-25 Thread Dan O'Keefe
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

Re: cfdirectory directory to a another server

2008-11-25 Thread Dan O'Keefe
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.

RE: cfdirectory directory to a another server

2008-11-25 Thread Dawson, Michael
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

Re: cfdirectory directory to a another server

2008-11-25 Thread Dan O'Keefe
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

Re: cfdirectory directory to a another server

2008-11-25 Thread Dave Watts
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

Re: cfdirectory directory to a another server

2008-11-25 Thread Dan O'Keefe
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

Re: cfdirectory directory to a another server

2008-11-25 Thread Dave Watts
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/

cfdirectory directory to a another server

2008-11-24 Thread patrick buch
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

Re: cfdirectory directory to a another server

2008-11-24 Thread Ian Skinner
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

Re: cfdirectory directory to a another server

2008-11-24 Thread Dave Watts
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

Re: cfdirectory directory to a another server

2008-11-24 Thread Dan O'Keefe
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

Re: cfdirectory directory to a another server

2008-11-24 Thread Wil Genovese
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

Re: cfdirectory directory to a another server

2008-11-24 Thread Dave Watts
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

Re: cfdirectory directory to a another server

2008-11-24 Thread Dan O'Keefe
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

RE: cfdirectory directory to a another server

2008-11-24 Thread Dawson, Michael
\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

Cfdirectory onclick event

2008-09-23 Thread erik tom
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

Is it possible to access network drives with CFDIRECTORY and CFCONTENT

2008-07-10 Thread Arden Weiss
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

RE: Is it possible to access network drives with CFDIRECTORY and CFCONTENT

2008-07-10 Thread Bobby Hartsfield
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

RE: Is it possible to access network drives with CFDIRECTORY and CFCONTENT

2008-07-10 Thread Peterson, Chris
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

Re: copy files with cfdirectory cffil

2008-06-18 Thread Didgiman
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

copy files with cfdirectory cffile

2008-06-17 Thread thomas v
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

copy files with cfdirectory cffile

2008-06-17 Thread thomas v
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

Re: CFDIRECTORY and Multiple Spaces Between Filename

2008-06-12 Thread Sameer Gupta
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

CFDIRECTORY and Multiple Spaces Between Filename

2008-06-11 Thread Sung Woo
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

Re: CFDIRECTORY and Multiple Spaces Between Filename

2008-06-11 Thread Sung Woo
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

Re: CFDIRECTORY and Multiple Spaces Between Filename

2008-06-11 Thread Didgiman
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

Re: CFDIRECTORY and Multiple Spaces Between Filename

2008-06-11 Thread Ian Skinner
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

CFDIRECTORY / CFFILE

2008-05-21 Thread Robert Harrison
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

RE: CFDIRECTORY / CFFILE

2008-05-21 Thread Robert Harrison
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

Re: CFDIRECTORY / CFFILE

2008-05-21 Thread Ian Skinner
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

Re: CFDIRECTORY / CFFILE

2008-05-21 Thread Massimo Foti
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

Re: CFdirectory under ColdFusion 8 (Standard)

2008-05-03 Thread Don L
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

CFdirectory under ColdFusion 8 (Standard)

2008-05-02 Thread Don L
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

Re: CFdirectory under ColdFusion 8 (Standard)

2008-05-02 Thread Barney Boisvert
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

Cffile and cfdirectory in CF 8

2008-04-22 Thread Tim Lancaster
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

RE: Cffile and cfdirectory in CF 8

2008-04-22 Thread Brad Wood
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

Re: Cffile and cfdirectory in CF 8

2008-04-22 Thread Tim Lancaster
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

RE: Cffile and cfdirectory in CF 8

2008-04-22 Thread Dave Watts
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

Re: Cffile and cfdirectory in CF 8

2008-04-22 Thread Tim Lancaster
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

RE: Cffile and cfdirectory in CF 8

2008-04-22 Thread Dave Watts
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

Re: Cffile and cfdirectory in CF 8

2008-04-22 Thread Tim Lancaster
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

CFDIRECTORY NUL bug

2008-04-02 Thread Sung Woo
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

RE: CFDIRECTORY NUL bug

2008-04-02 Thread Dave Francis
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

Re: CFDIRECTORY NUL bug

2008-04-02 Thread Sonny Savage
: 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

Re: CFDIRECTORY NUL bug

2008-04-02 Thread Sonny Savage
: 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

url for cfdirectory col name

2007-11-13 Thread Orlini, Robert
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

Re: url for cfdirectory col name

2007-11-13 Thread Raymond Camden
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

RE: url for cfdirectory col name

2007-11-13 Thread Dave Watts
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

Re: CFDIRECTORY filter shortcoming

2007-06-26 Thread Claude Schneegans
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 --

Re: CFDIRECTORY filter shortcoming

2007-06-26 Thread Steve Withington
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

CFDIRECTORY filter shortcoming

2007-06-22 Thread Robert Harrrison
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   2   3   4   5   6   7   >