Re: FileExists() stops working

2013-05-20 Thread Byron Mann
Weird. Last night I did the latest hot fix update to Cold Fusion on the > server and now all my FileExists() tags are failing. Could be totally > unrelated, of course, but does anyone know what file the FileExists() code > resides in (I assume somewhere in CFIDE)? Perhaps that particular fi

FileExists() stops working

2013-05-17 Thread Les Irvin
Weird. Last night I did the latest hot fix update to Cold Fusion on the server and now all my FileExists() tags are failing. Could be totally unrelated, of course, but does anyone know what file the FileExists() code resides in (I assume somewhere in CFIDE)? Perhaps that particular file got

Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger
>On 4/8/2010 11:58 AM, Fred Grainger wrote: > >'C:\Inetpub\wwwroot\Interspire\images_originals\#trim(catalog.sku)#.png'> > >> The value is: >> C:\Inetpub\wwwroot\Interspire\images_originals\707-2298005-001.png >> > >I bet if you view source you will see that the value is really : > >C:\Inetpub

Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger
Thank you so much. What a newbie error. I had tried it without the cfoutput and was at the point of frustration I was coding recklessly. That fixed it! > Well thats the problem alright. Your putting CFOUTPUT in the cfset > tag. It's getting used as a literal. > > This is the better way to

Re: FileExists using variable - not working

2010-04-08 Thread Ian Skinner
On 4/8/2010 11:58 AM, Fred Grainger wrote: > >> You said that "When I build the file path from the database fields it >> will not work. ". Lets see that code. Something may not be what it >> seems to be. >> >> >> > 'C:\Inetpub\wwwroot\Interspire\images_originals\#trim(catalog.sku)#.pn

Re: FileExists using variable - not working

2010-04-08 Thread Wil Genovese
Well thats the problem alright. Your putting CFOUTPUT in the cfset tag. It's getting used as a literal. This is the better way to do this Alternately you could do this: What you were doing produced an output that looked like this: "C:\Inetpub\wwwroot\Interspire\images_originals\394803.png

Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger
> You said that "When I build the file path from the database fields it > will not work. ". Lets see that code. Something may not be what it > seems to be. > > The value is: C:\Inetpub\wwwroot\Interspire\images_originals\707-2298005-001.png The length of the variable is 15. The file exis

Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger
> Have you tried checking the length of the string? Sometimes, you get a > > CR/LF at the end with Excel. > > -- > http://www.linkedin.com/pub/roger-austin/8/a4/60 > http://twitter.com/RogerTheGeek > http://www.misshunt.com/ Home of the Clean/Dirty Magnet > http://www.ncdevcon.com/ TACFUG 2010

Re: FileExists using variable - not working

2010-04-08 Thread Wil Genovese
You said that "When I build the file path from the database fields it will not work. ". Lets see that code. Something may not be what it seems to be. Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is a tax for doing wrong. A tax is a fine for doing well. On Ap

Re: FileExists using variable - not working

2010-04-08 Thread Roger Austin
Fred Grainger wrote: > > Yep - If it type in a literal into the variable it is working. When I build > the file path from the database fields it will not work. When I manually cut > and paste the cfoutput of the variable I build with the database fileds into > the file

Re: FileExists using variable - not working

2010-04-08 Thread Wil Genovese
I was digging into Adobe's docs to see if something change. 1. Their examples are terrible. It's amazing anyone learns anything from those. 2. Nothing noted about changed behavior. So I took their example and fixed it so it would work. Try this. FileExists Example The current

Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger
Yep - If it type in a literal into the variable it is working. When I build the file path from the database fields it will not work. When I manually cut and paste the cfoutput of the variable I build with the database fileds into the fileexists function it finds it. It does not like

Re: Re: FileExists using variable - not working

2010-04-08 Thread William Seiter
rward. A day and a half later, still no dice. This is the first time I've used this function. We just upgraded to CF9 a few weeks ago, but it is up to date. This makes no sense whatsoever. When I type the file path into the FileExists function it works fine. Will not work with

Re: FileExists using variable - not working

2010-04-08 Thread Dave Watts
;ve used this > function.  We just upgraded to CF9 a few weeks ago, but it > is up to date. > > This makes no sense whatsoever.  When I type the file path into the > FileExists function it works fine.  Will not work with a > variable.  Period. I can tell you that it's worki

Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger
. We just upgraded to CF9 a few weeks ago, but it is up to date. This makes no sense whatsoever. When I type the file path into the FileExists function it works fine. Will not work with a variable. Period. ~| Want to

Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger
Tried: None of which works. > The fileExists function expects a string literal. Wrap > #variables.imageSource# with double quotes to treat the value as a > string literal. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > http://training.figle

Re: FileExists using variable - not working

2010-04-08 Thread Dave Watts
> How can you tell when a template is recompiled? You can attempt to identify the compiled file in the WEB-INF/cfclasses subdirectory, and look at the timestamp. > I made some changes and tried again.  Still no dice? > > I'm outputting the variable and it looks correct, unless there is a control

Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger
It is the correct path and file name. C:\somepath\filename.png I am thinking that there may be a control character of something that I cannot see. I am reading the "filename.png" from SQL Server. ~| Want to reach the ColdFus

Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger
e was imported in SQL Server from excel. >> The value of the variable is: >> C:\somepath\filename.png >> Which is correct. > >When I was testing this a few minutes ago, I noticed that when I made >changes to the fileExists function, the file wasn't being recompiled -

Re: FileExists using variable - not working

2010-04-08 Thread Dave Watts
> The value of the variable is: > C:\somepath\filename.png > Which is correct. When I was testing this a few minutes ago, I noticed that when I made changes to the fileExists function, the file wasn't being recompiled - I had to make some other change (any other change) and save

Re: FileExists using variable - not working

2010-04-08 Thread Ian Skinner
On 4/8/2010 10:26 AM, Fred Grainger wrote: > Tried: > > > > > > None of which works. > Just a shot in the dark, ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion m

Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger
The value of the variable is: C:\somepath\filename.png Which is correct. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion

Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger
Tried: None of which works. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid

Re: FileExists using variable - not working

2010-04-08 Thread Dave Watts
> I am using fileexists() function to determine whether a image file exists on > the server. When I type in the path it works fine, but > when I use a variable it always returns false. > > My code is like this: > > > > > do something > > do something else

Re: FileExists using variable - not working

2010-04-08 Thread Cutter (ColdFusion)
.com/learning-ext-js/book _ http://blog.cutterscrossing.com Fred Grainger wrote: > Ok - I'm about to pull my hair out. > > I am using fileexists() function to determine whether a image file exists on > the server. When I type in the path it works fine, but when I use a v

Re: FileExists using variable - not working

2010-04-08 Thread William Seiter
try or -- William E. Seiter On Apr 8, 2010, Fred Grainger wrote: Ok - I'm about to pull my hair out. I am using fileexists() function to determine whether a image file exists on the server. When I type in the path it works fine, but when I use a variable it always re

Re: FileExists using variable - not working

2010-04-08 Thread Dorioo
te: > > Ok - I'm about to pull my hair out. > > I am using fileexists() function to determine whether a image file exists on > the server. When I type in the path it works fine, but when I use a variable > it always returns false. > > My code is like this: > >

FileExists using variable - not working

2010-04-08 Thread Fred Grainger
Ok - I'm about to pull my hair out. I am using fileexists() function to determine whether a image file exists on the server. When I type in the path it works fine, but when I use a variable it always returns false. My code is like this: do something do something else The variable

Re: FileExists - different server

2009-02-27 Thread Tara Alexander
Thanks - I tried using the ip address of the other server but it does not show the file as there. I will ask the Sys Admin if there is something limiting the userid from seeing the file - although I can Open the file (if I comment out the CFIF stmt and just use the link then I can open the fil

Re: FileExists - different server

2009-02-27 Thread Mike Chabot
rives. -Mike Chabot On Fri, Feb 27, 2009 at 2:44 PM, Tara Alexander wrote: > > Hi -  Every month I have a page that shows reports for countless properties.   > I use the FileExists to check if the file is there - if it is then the month > shows as an active link - if not then the

Re: FileExists - different server

2009-02-27 Thread Yuliang Ruan
the drive P: doesn't exist for the server. The CF server won't be able to look on your local workstation's mapped drives. you should use the UNC path \\that_server_name\shared directory\blahblah\foo\file.dat ~| Adobe® Co

Re: FileExists - different server

2009-02-27 Thread Justin Scott
Tara Alexander wrote: > Now I have another department wanting me to display their reports and they do > not have access to the ColdFusion server. The FileExists cannot "see" the > files. If I hard code it to display a link the file will open - so I know > the path i

FileExists - different server

2009-02-27 Thread Tara Alexander
Hi - Every month I have a page that shows reports for countless properties. I use the FileExists to check if the file is there - if it is then the month shows as an active link - if not then the month displays in regular font. This works great for all the reports so far as they have all

FileExists - different server

2009-02-27 Thread Tara Alexander
Hi - Every month I have a page that shows reports for countless properties. I use the FileExists to check if the file is there - if it is then the month shows as an active link - if not then the month displays in regular font. This works great for all the reports so far as they have all

RE: Using "FileExists" function in a "CFIF" tag

2009-02-04 Thread Dave Long
eft on the same box as the Web site so we're just going to copy the pix over. That should solve the problem, I hope. Thanks again. Dave > -Original Message- > From: Yuliang Ruan [mailto:yuliangr...@hotmail.com] > Sent: Monday, February 02, 2009 2:24 PM > To: cf-talk &

Re: Using "FileExists" function in a "CFIF" tag

2009-02-03 Thread Yuliang Ruan
filexists is for checking file existence on the local filesystem. not for checking out on the web. are you hosting the images? if you are, you should be doing something to effect of: Yes, it's here.I couldn't find it. if you are not hosting the images, then you should be doing no

Re: Using "FileExists" function in a "CFIF" tag

2009-02-03 Thread Ian Skinner
>http://mls.northernweb.net/images/Photo";> That is not a file path, that is an URL. FileExists() needs a file path, something like "c://inetpub/wwwroot/images/photo/". ~| Adobe® ColdFusion® 8 s

Re: Using "FileExists" function in a "CFIF" tag

2009-02-03 Thread John M Bliss
Further, most often I used FileExists as follows: FileExists(ExpandPath("../images/myimage.jpg")) On Mon, Feb 2, 2009 at 3:50 PM, C S wrote: > > >http://mls.northernweb.net/images/Photo";> > > .. > >Any idea of what I am doing wrong? Is there a better w

Re: Using "FileExists" function in a "CFIF" tag

2009-02-03 Thread Dominic Watson
Another possibility is to use cfdirectory to get a query of all the image files available. Then loop that list: HTH Dominic ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Fre

Re: Using "FileExists" function in a "CFIF" tag

2009-02-03 Thread Francois Levesque
FileExists takes an absolute path as argument: http://www.cfquickdocs.com/cf8/#FileExists So you'd need to pass something like "D:\wwwroot\images\photo\ Photo89255-2.jpeg". Francois Levesque http://blog.critical-web.com/ On Mon, Feb 2, 2009 at 1:24 PM, Dave Long wrote: >

Re: Using "FileExists" function in a "CFIF" tag

2009-02-03 Thread C S
>http://mls.northernweb.net/images/Photo";> > .. >Any idea of what I am doing wrong? Is there a better way to test to see if a >file exists in order to avoid broken pictures on the page? FileExists expects an absolute path, not a url i

Re: Using "FileExists" function in a "CFIF" tag

2009-02-03 Thread C S
>http://mls.northernweb.net/images/Photo";> IIRC, FileExists expects an absolute path, not a url. ie found not found ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date G

Re: Using "FileExists" function in a "CFIF" tag

2009-02-03 Thread Ian Skinner
>I am attempting to prevent broken pictures on a page displaying details >regarding real estate listings. Agents are allowed to upload as many as 12 >pictures of a particular listing but frequently post less than twelve. When >that happens, a "broken picture" emblem appears, and we want to elimina

Using "FileExists" function in a "CFIF" tag

2009-02-03 Thread Dave Long
I am attempting to prevent broken pictures on a page displaying details regarding real estate listings. Agents are allowed to upload as many as 12 pictures of a particular listing but frequently post less than twelve. When that happens, a "broken picture" emblem appears, and we want to eliminate t

Re: Jrun Memory Usage Problem: could fileexists() be the culprit?

2008-06-17 Thread Kunal Saini
Hi Sean, I have tested Performance of function fileexists(). This function is not not a bottleneck. Also in a directory it doesn't search inside other folders. Following scenario i used to test this: 30 Vusers for 10 mins trying to hit some randomly generated filenames(some of them d

Re: Jrun Memory Usage Problem: could fileexists() be the culprit?

2008-06-13 Thread Hemant Khandelwal
This may not be directly related. When you use CF server monitoring, can you disable the memory tracking option and check if that helps? Thanks, Hemant ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic rele

Re: Jrun Memory Usage Problem: could fileexists() be the culprit?

2008-06-12 Thread Alex DeMarco
>CF8 ships with JDK 1.6 > >Version 1.6_06 isn't supported by CF8; 1.6_04 is the latest version >showing in the support matrix. Regardless, 1.6_06 still suffers the >classloader issue (which isn't fixed until 1.6u10 and that's still in >beta). > >On Fri, Jun 13, 2008 at 9:01 AM, Alex DeMarco <[EMAIL

Re: Jrun Memory Usage Problem: could fileexists() be the culprit?

2008-06-12 Thread James Holmes
CF8 ships with JDK 1.6 Version 1.6_06 isn't supported by CF8; 1.6_04 is the latest version showing in the support matrix. Regardless, 1.6_06 still suffers the classloader issue (which isn't fixed until 1.6u10 and that's still in beta). On Fri, Jun 13, 2008 at 9:01 AM, Alex DeMarco <[EMAIL PROTECT

Re: Jrun Memory Usage Problem: could fileexists() be the culprit?

2008-06-12 Thread Alex DeMarco
We had a similiar issue. Let me preface by saying I have not read this entire thread so if the info I give is redundant.. sorry. Anyways, we had a similiar issue. Code that worked fine under CFMX 7 would cause Jrun & cfmx 8 to suck down memory until it crashed. We narrowed it down to a piece

RE: Jrun Memory Usage Problem: could fileexists() be the culprit?

2008-06-12 Thread Dave Watts
> Moreover, in the CF Server Monitor it shows that CF is > actually destroying the objects as expected and releasing > memory back into the pool. However, if you actually look at > Jrun in the Task Manager, it's not. And, hitting Run GC to > invoke garbage collection in the Server Monitor does

Re: Jrun Memory Usage Problem: could fileexists() be the culprit? Whoops!

2008-06-12 Thread Sean Kozey
Whoops, somehow submitted that post twice. Sorry for the double-posting... Sean ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25

Re: Jrun Memory Usage Problem: could fileexists() be the culprit?

2008-06-12 Thread Sean Kozey
Hey everyone, An update: * We installed FusionReactor * Deployed the site on a development box running CF Enterprise * Ran a number of load tests and tests on discrete parts of the application * Did various application and memory monitoring using both FusionReactor and CF's Server Monitor *

Re: Jrun Memory Usage Problem: could fileexists() be the culprit?

2008-06-12 Thread Sean Kozey
Hey everyone, An update: * We installed FusionReactor * Deployed the site on a development box running CF Enterprise * Ran a number of load tests and tests on discrete parts of the application * Did various application and memory monitoring using both FusionReactor and CF's Server Monitor *

Re: Jrun Memory Usage Problem: could fileexists() be the culprit?

2008-06-08 Thread Wil Genovese
n Kozey wrote: > > > * fileexists(): we're using CF's fileexists() function in several > places in the application: to detect if an artifact image exists, > and if not, to either display a placeholder image, and/or generate > one on the fly (for each artifact in the database there

Re: Jrun Memory Usage Problem: could fileexists() be the culprit?

2008-06-07 Thread Sean Kozey
Thanks everyone for all your suggestions. Some initial JVM tweaking didn't solve anything, but you've given me a number of things to follow up on. Will let you know how it goes. Cheers, Sean ~| Adobe® ColdFusion® 8 software 8

Re: Jrun Memory Usage Problem: could fileexists() be the culprit?

2008-06-07 Thread s. isaac dealey
> Isaac, > > That's an interesting guess and comment. We should test it and see if it > does degrade performance as you suggest. > > Sean, I would try the JVM arguments the other guy suggested first tho... I really wouldn't put what I mentioned high on my list of likely suspects. But thanks fo

RE: Jrun Memory Usage Problem: could fileexists() be the culprit?

2008-06-07 Thread Mark Kruger
could fileexists() be the culprit? Hey Sean, I know you said you already did a thorough code review and fixed all the errors so you're not having any application errors, however, my guess would be there's still some kind of subtle recursion-related issue that's been overlooked. I would

Re: Jrun Memory Usage Problem: could fileexists() be the culprit?

2008-06-06 Thread Wil Genovese
SQL > 2005's record paging functionality to further reduce the amount of > data that gets loaded into memory on each request (although one > would think CF would eventually do garbage collection to release > this, no? Especially if you're not caching the queries expl

Re: Jrun Memory Usage Problem: could fileexists() be the culprit?

2008-06-06 Thread s. isaac dealey
Hey Sean, I know you said you already did a thorough code review and fixed all the errors so you're not having any application errors, however, my guess would be there's still some kind of subtle recursion-related issue that's been overlooked. I would be real surprised if fi

Re: Jrun Memory Usage Problem: could fileexists() be the culprit?

2008-06-06 Thread Mark Mandel
via a typical web paging navigation system, > i.e., next/previous N records). We're looking at using SQL 2005's record > paging functionality to further reduce the amount of data that gets loaded > into memory on each request (although one would think CF would eventually do > g

Jrun Memory Usage Problem: could fileexists() be the culprit?

2008-06-06 Thread Sean Kozey
loaded into memory on each request (although one would think CF would eventually do garbage collection to release this, no? Especially if you're not caching the queries explicitly, and the number of cached queries in CFADMIN is set to a low number?) * fileexists(): we're using CF

Re: FileExists() function is not wrking in my application

2007-04-16 Thread Robertson-Ravo, Neil (RX)
website at http://www.reedexpo.com -Original Message- From: sandeep saini To: CF-Talk Sent: Mon Apr 16 12:59:29 2007 Subject: Re: FileExists() function is not wrking in my application Rob Ya i understand that. Can you please suggest some other way of getting the same functionality.. i.e. t

Re: FileExists() function is not wrking in my application

2007-04-16 Thread sandeep saini
--- >From: sandeep saini >To: CF-Talk >Sent: Mon Apr 16 12:48:28 2007 >Subject: Re: FileExists() function is not wrking in my application > >Thank you Rob. >But i fear that granting permissions on file/directory might cause security >breach as there are also many other app

Re: FileExists() function is not wrking in my application

2007-04-16 Thread Robertson-Ravo, Neil (RX)
al Message- From: sandeep saini To: CF-Talk Sent: Mon Apr 16 12:48:28 2007 Subject: Re: FileExists() function is not wrking in my application Thank you Rob. But i fear that granting permissions on file/directory might cause security breach as there are also many other applications running on the s

Re: FileExists() function is not wrking in my application

2007-04-16 Thread sandeep saini
Thank you Rob. But i fear that granting permissions on file/directory might cause security breach as there are also many other applications running on the same server.(Still i will try if READ access can be granted :o) Thank you again. > sandeep saini wrote: > > > > i am alredy able to open a

Re: FileExists() function is not wrking in my application

2007-04-16 Thread Jochem van Dieten
sandeep saini wrote: > > i am alredy able to open a file present at > \\MC1CCS01\ISIT.GRP\DOCUMENTS\FastTrack_Schedule_9\FastTrack_Schedule_9.doc.pdf > from my application itself. > > Please note that it is relative path here. That is not a relative path, that is a UNC path. > Now have look a

Re: FileExists() function is not wrking in my application

2007-04-16 Thread Robertson-Ravo, Neil (RX)
Original Message- From: sandeep saini To: CF-Talk Sent: Mon Apr 16 12:37:21 2007 Subject: Re: FileExists() function is not wrking in my application Hello Rob, Thanks for reply. To be more precise, i am alredy able to open a file present at \\MC1CCS01\ISIT.GRP\DOCUMENTS\FastTrack_Schedule_9\

Re: FileExists() function is not wrking in my application

2007-04-16 Thread sandeep saini
> ## > > Here , as you can see i have given the abosute path of the file as > required by the FileExists function. > > Also > when i type C:\COMLOG.txt in browser, the file iopens successfully. > > Any help? > > Thanks Sandeep ~

Re: FileExists() function is not wrking in my application

2007-04-16 Thread Robertson-Ravo, Neil (RX)
al Message- From: sandeep saini To: CF-Talk Sent: Mon Apr 16 12:08:40 2007 Subject: FileExists() function is not wrking in my application Hello Folks I have to check if a file exists in folder or not. Following is the simple code: ## Yes No ## I get

FileExists() function is not wrking in my application

2007-04-16 Thread sandeep saini
. ## Here , as you can see i have given the abosute path of the file as required by the FileExists function. Also when i type C:\COMLOG.txt in browser, the file iopens successfully. Any help? Thanks Sandeep ~| ColdFusion

RE: fileexists()

2006-01-17 Thread Munson, Jacob
No quotes or pound signs are required. > -Original Message- > From: Charlie Hanlon [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 17, 2006 9:33 AM > To: CF-Talk > Subject: fileexists() > > When using , does the > variable need > to be in quotes or

RE: fileexists()

2006-01-17 Thread Brad Wood
. ~Brad -Original Message- From: Charlie Hanlon [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 10:33 AM To: CF-Talk Subject: fileexists() When using , does the variable need to be in quotes or surrounded by pounds signs? thanks in advance, Charlie Hanlon

RE: fileexists()

2006-01-17 Thread Adrian Lynch
Quotes as it's a string. But not in the example you have below as I'm guessing VARIABLES.myFileName evaluates to a string. Ade -Original Message- From: Charlie Hanlon [mailto:[EMAIL PROTECTED] Sent: 17 January 2006 16:33 To: CF-Talk Subject: fileexists() When using , does th

fileexists()

2006-01-17 Thread Charlie Hanlon
When using , does the variable need to be in quotes or surrounded by pounds signs? thanks in advance, Charlie Hanlon ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229772 Archives: http://www.houseoffusion.com/cf

RE: Using FileExists

2005-12-06 Thread Burns, John D
I'm pretty sure fileExists is a local function. You'd have to use it like FileExists("D:\websites\somewebaddress\PropertyImages\Adirectory\Another Directory\ImageFileName.jpg") If you want to check an image at a remote location, you'll need to try to use and figure

RE: Using FileExists

2005-12-06 Thread Dawson, Michael
You can also use the mailto:[EMAIL PROTECTED] Sent: Tuesday, December 06, 2005 10:08 AM To: CF-Talk Subject: Using FileExists I am sending an email out and need to check if the image is actually found on the server, if not show a default image. This is what I am trying to do. Property Images is

RE: Using FileExists

2005-12-06 Thread Ian Skinner
Is there any way to do some type of fileExists with a URL. Or anyway to check for a file in an email? expandPath(url) can convert url paths to a file path on the local system. Checking for a file in an email is getting into the attachments of the email. -- Ian Skinner Web

RE: Using FileExists

2005-12-06 Thread Bobby Hartsfield
-Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 06, 2005 11:19 AM To: CF-Talk Subject: RE: Using FileExists You could try cfhttp to see if the file exists ...:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message

RE: Using FileExists

2005-12-06 Thread Bobby Hartsfield
You could try cfhttp to see if the file exists ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Chad McCue [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 06, 2005 11:12 AM To: CF-Talk Subject: Re: Using FileExists Is there any way to

RE: Using FileExists

2005-12-06 Thread Ben Forta
you can definitely use that in any statement. --- Ben -Original Message- From: Chad McCue [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 06, 2005 11:12 AM To: CF-Talk Subject: Re: Using FileExists Is there any way to do some type of fileExists with a URL. Or anyway to check for

Re: Using FileExists

2005-12-06 Thread Chad McCue
Is there any way to do some type of fileExists with a URL. Or anyway to check for a file in an email? - Original Message - From: "Ben Forta" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Tuesday, December 06, 2005 11:09 AM Subject: RE: Using FileExists > FileEx

RE: Using FileExists

2005-12-06 Thread Ian Skinner
http://www.somewebaddress.com/PropertyImages/Adirectory/AnotherDirecotry/ImageFileName.jpg";) > Show the Image Default Image The problem is the FileExists never seems to work, my email always shows the default image. IIRC FileExists does not expect a url path, it wants a file

RE: Using FileExists

2005-12-06 Thread Bobby Hartsfield
Fileexists takes an absolute path not a url... ie.. D:\webroot\site\file.gif ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Chad McCue [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 06, 2005 11:08 AM To: CF-Talk Subject: Using

RE: Using FileExists

2005-12-06 Thread Ben Forta
FileExists() needs a file path, not a URL. -Original Message- From: Chad McCue [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 06, 2005 11:08 AM To: CF-Talk Subject: Using FileExists I am sending an email out and need to check if the image is actually found on the server, if not

Using FileExists

2005-12-06 Thread Chad McCue
";) > Show the Image Default Image The problem is the FileExists never seems to work, my email always shows the default image. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket applicati

Re: FileExists sample code?

2004-08-06 Thread Barney Boisvert
The images in the 400 folder are referenced by lanesID in the db table, > so will that work or just give me a dir listing? > > Thank you, > > Donna French > > > -Original Message- > From: Barney Boisvert [mailto:[EMAIL PROTECTED] > Sent: Friday, August 0

RE: FileExists sample code?

2004-08-06 Thread Donna French
: FileExists sample code? How about running this: #directoryExists("c:\inetpub\lanescollectibles\images\400\")# If that returns NO, then the file exist above will always return NO as well. cheers, barneyb On Fri, 6 Aug 2004 16:54:20 -0500, Donna French <[EMAIL PROTECTED]> wrote: >

Re: FileExists sample code?

2004-08-06 Thread Barney Boisvert
wrong code - is it Monday again? > > Here's the code I'm using and it's listing images that DO exist. > > > Missing 400 images > > > FileExists("c:\inetpub\lanescollectibles\images\400\#lanesID#.jpg")> > >

RE: FileExists sample code?

2004-08-06 Thread Donna French
Okay, I pasted the wrong code - is it Monday again? Here's the code I'm using and it's listing images that DO exist. Missing 400 images FileExists("c:\inetpub\lanescollectibles\images\400\#lanesID#.jpg")>   

Re: FileExists sample code?

2004-08-06 Thread Barney Boisvert
t; for the dolls table? > > >SELECT lanesID, name >FROM dolls > > > > Missing 400 images > > > FileExists("c:\inetpub\lanescollectibles\images\400\#lanesID#.jpg")> > > >    #name# - #lanesid#.jpg > 

RE: FileExists sample code?

2004-08-06 Thread Donna French
Shouldn't this work to give me a list of the images that are not present for the dolls table? SELECT lanesID, name FROM dolls Missing 400 images FileExists("c:\inetpub\lanescollectibles\images\400\#lanesID#.jpg")> #name# - #lanesid#.jpg Thank

RE: FileExists sample code?

2004-08-05 Thread Donna French
Thank you!!! -Original Message- From: Greg Stewart [mailto:[EMAIL PROTECTED] Sent: Thursday, August 05, 2004 11:09 AM To: CF-Talk Subject: Re: FileExists sample code? Check out livedocs: http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/functi79.htm#wp11 04406 Cheers G On Thu

Re: FileExists sample code?

2004-08-05 Thread Greg Stewart
Check out livedocs: http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/functi79.htm#wp1104406 Cheers G On Thu, 5 Aug 2004 11:07:40 -0500, Donna French <[EMAIL PROTECTED]> wrote: > Can someone post sample code using FileExists? I have 2 books and can't > find a code sample

FileExists sample code?

2004-08-05 Thread Donna French
Can someone post sample code using FileExists? I have 2 books and can't find a code sample in either and my online docs search is throwing an error. TIA!!! Donna [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

RE: FileExists() ?

2004-06-21 Thread Dave Watts
> Can I use the FileExists() function on Map network drives? I > have a line like below and for some reason it cannot validate > that the file exist at all when it actually does. >   > > Sites\Images\AgentPictures\#Trim(AgPicture.PATH)#") is "Yes"> >

Re: FileExists() ?

2004-06-21 Thread Marlon Moyer
Is your ColdFusion Service running under an account with network permissions and is that drive mapped in that account? Marlon On Mon, 21 Jun 2004 15:00:31 -0500, Bailey, Neal <[EMAIL PROTECTED]> wrote: > > Hey guys... > > Can I use the FileExists() function on Map network dri

Cleanup of FileExists - better options?

2003-07-31 Thread Jason Miller
Hello list. I was wondering if anyone had any suggestions on the following problem - FileExists - Actually - it may not be a problem but here is my question. Are there better options to FileExists? Are they worth it - ie. does a file exist slow a page by alot? etc etc. I find that for my

Thanks (was Relative path for FileExists() inside custom tag)

2002-10-31 Thread Bob Haroche
> The argument for the function FileExists() is not a relative path, but it is > an absolute path. Oh, yes. I meant ExpandPath(), which I'll be using to first do the conversion to an absolute path. > The path is resolved as if it is relative to the template in which the function

RE: Relative path for FileExists() inside custom tag

2002-10-31 Thread S . Isaac Dealey
> Bob, > The argument for the function FileExists() is not a relative path, but it > is > an absolute path. If you want to use an relative path, then the function > ExpandPath() will convert a relative path to its abolute path. The path > is > resolved as if it is relati

RE: Relative path for FileExists() inside custom tag

2002-10-31 Thread Paul Kenney
Bob, The argument for the function FileExists() is not a relative path, but it is an absolute path. If you want to use an relative path, then the function ExpandPath() will convert a relative path to its abolute path. The path is resolved as if it is relative to the template in which the

  1   2   >