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 for

Re: Sort by file extension in CFDIRECTORY

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

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: http://www.houseof

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 finally solved the problem this way: 1. if the page nb. does not exists: 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 (fortunately, IIS won't call the URL a second time, and loop) ~

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,".

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 t

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 Direc

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-

Re: cfdirectory issue

2014-06-13 Thread Byron Mann
d Engineer & Architect HostMySite.com On Jun 13, 2014 6:38 PM, "Tim Do" 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

Re: cfdirectory issue

2014-06-13 Thread Russ Michaels
te: > > 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! Cfd

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 error

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-

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 > >

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 ch

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,

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

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="

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

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 wrote: > > > 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

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

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 wrote: > >

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 Russ Michaels
ess. > > > > > > Russ > > > > > > > > > On Mon, Jul 11, 2011 at 5:40 PM, David McGuigan < > davidmcgui...@gmail.com > > >wrote: > > > > > >> > > >> I've triple checked that an empty folder on a 2nd ser

Re: 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

Re: CFDirectory on mapped drives

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

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 >

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 r

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 co

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 servi

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
> 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 SYST

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 > #name#

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! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/143027

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: http://www.houseoffusion.com/groups/cf-talk/messag

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: do something do something

Re: Query of query with cfdirectory

2009-11-17 Thread Stefan Richter
st a nightly job you > might not even care how long it takes. > > > ~Brad > > ---- Original Message > Subject: Query of query with cfdirectory > From: Stefan Richter > Date: Tue, November 17, 2009 10:13 am > To: cf-talk > > > Hi all, > The t

RE: Query of query with cfdirectory

2009-11-17 Thread brad
- Original Message Subject: Query of query with cfdirectory From: Stefan Richter Date: Tue, November 17, 2009 10:13 am To: cf-talk 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 reco

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

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): Rew

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 add/ed

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 wrote: > > Actually, as of CF8, CFLOCATION does support status codes other than 302: > > http://www.cfquickdocs.com/cf8/?getDoc=cflocation >

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 : > Further, you almost certainly want to be doing a 301 instea

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 retur

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

2009-03-26 Thread Barney Boisvert
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 tag in that index.cfm file. > > > > > > output="#fileOutput#" /> > > What I can&#

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

2009-03-26 Thread brad
Will this work? http://my.long.path.com/";> "> ~Brad Original Message Subject: using cffile and cfdirectory to create tinyURL-style aliases From: Cameron Johnson Date: Thu, March 26, 2009 6:43 pm To: cf-talk Hi, all. I've been out of coding for

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 tag in that index.cfm file. What I can't solve is how to write the CFLOCATI

Re: cfdirectory directory to a another server

2008-11-26 Thread Dan O'Keefe
er: > > net use * \\server\share password /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 Dri

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/

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 vali

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 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

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

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

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 Jeffrey Lemire
fe [mailto:[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

RE: cfdirectory directory to a another server

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

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 M

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 th

Re: cfdirectory directory to a another server

2008-11-24 Thread Wil Genovese
Based on that example it is assuming the other server has windows file sharing enabled. You need to setup the other server to have file sharing enabled and then access the share name. This may or may not be the best way to do this. It all depends on your desired level of security. Wil Genovese

Re: cfdirectory directory to a another server

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

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... > > 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 results using the absolute add

Re: cfdirectory directory to a another server

2008-11-24 Thread Ian Skinner
patrick buch wrote: > 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 service runs under does not normally have any permissions

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... 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 results using the absolute addressing. Any suggestions? Thank you in advance for your tim

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 ~| Adobe® ColdFusion®

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

2008-07-10 Thread Peterson, Chris
ive it very specific 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 have

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 cfdirector

Is it possible to access network drives with CFDIRECTORY and CFCONTENT

2008-07-09 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 dir

Re: copy files with cfdirectory & cffil

2008-06-18 Thread Didgiman
from one folder to another one but I cannot > copy all files from my 'dropoff' to my 'gal_o7'. What 's wrong with the code > below? > 2) I am setting up an event gateway and my CFC will do the copying (I have > no CFML). How do I dump out the cfdirect

copy files with cfdirectory & cffile

2008-06-17 Thread thomas v
have no CFML). How do I dump out the cfdirectory list? Thanks Here is my code: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.n

copy files with cfdirectory & cffile

2008-06-17 Thread thomas v
have no CFML). How do I dump out the cfdirectory query? Thanks Here is my code: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http

Re: CFDIRECTORY and Multiple Spaces Between Filename

2008-06-12 Thread Sameer Gupta
ace 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 > whatever whatever.txt > > I can't possibly be the first one to notice thi

Re: CFDIRECTORY and Multiple Spaces Between Filename

2008-06-11 Thread Ian Skinner
Sung Woo wrote: > I can't possibly be the first one to notice this, right? And somebody must > have a workaround...right? Please? Pretty please? Never noticed it, but it is what I would expect. This it is the HTML standard that says all multiple spaces will be collapsed into a single space

Re: CFDIRECTORY and Multiple Spaces Between Filename

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

Re: CFDIRECTORY and Multiple Spaces Between Filename

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

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 / 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) Ho

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 > FUL

RE: CFDIRECTORY / CFFILE

2008-05-21 Thread Robert Harrison
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 to each file. How do I get th

CFDIRECTORY / CFFILE

2008-05-21 Thread Robert Harrison
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 to each file. How do I get t

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: > > 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

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: > 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 'name'

CFdirectory under ColdFusion 8 (Standard)

2008-05-02 Thread Don L
Oddities with this tag (OS=XP Professional): the Sort attribute failed (it did not list files in z to a order). output includes Thumbs.db (the Type Attribute is supposed to eliminate the Thumbs.db or is it my misunderstanding?) Thanks. ~

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

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 logg

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 upgr

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 d

Re: Cffile and cfdirectory in CF 8

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

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

Cffile and cfdirectory in CF 8

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

Re: CFDIRECTORY "NUL" bug

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

Re: CFDIRECTORY "NUL" bug

2008-04-02 Thread Sonny Savage
ems 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" bu

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

CFDIRECTORY "NUL" bug

2008-04-02 Thread Sung Woo
Is it just me or does this produce an error for everyone? 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 ~| Adobe® ColdFusion® 8 software 8 is the most im

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 > > directory="#GetDirectoryFromPath(GetTem

Re: url for cfdirectory col name

2007-11-13 Thread Raymond Camden
AIL 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 > > directory="#GetDire

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 ~| Check out the new

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

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-22 Thread Claude Schneegans
>>Does anyone know of a way I can extend the file filter and get what I want in a single read? Have a look at CFX_ListDir : http://www.contentbox.com/claude/customtags/ListDir/viewListDir.cfm You can provide a list of extentions, among many other parameters : [NAME] = [QUERY] =

  1   2   3   4   5   6   >