RE: CFFILE Question

2013-10-24 Thread Kevin Parker
I think a couple of responses you have are on the mark Steve - I had a similar problem only recently and it was because the file was getting deleted before the mail system could process it all. ++ Kevin Parker ++ -Original Message- From: Steve LaBadie [mailto:slaba...

Re: CFFILE Question

2013-10-23 Thread Brian Cain
Another alternative, if you are using CF 8 and above, is the content attribute of the cfmailparam tag. You can use this to attache the binary data itself as an attachment, that way you do not have to rely on a file existing on the server at the time the mail is sent. Read the file into a variab

Re: CFFILE Question

2013-10-23 Thread Russ Michaels
what you have to remember is that the mail gets added to the spool, so it may not get sent for a while depending how big the queue is, so you cannot just delete an attachment right away otherwise you are deleting it immediately even before the mail has even sent. You should setup a scheduled task

RE: CFFILE Question

2013-10-23 Thread Robert Harrison
I've had this same issue before. I believe the file was being deleted before the mail was fully processed. I think the solution I came up with was to place the file in a temporary directory then run a batch program to delete the files from that directory in the nightly run. Robert Harrison

Re: CFFile Question

2013-01-31 Thread Nathan Strutz
You can specify the local file name of the uploaded file as it is uploaded, through the cffile tag's destination="" attribute. It's like this: Good security dictates first that uploaded files should never go in the web root (even though I'm doing that here), and also that they do not keep the s

Re: CFFile Question

2013-01-31 Thread John M Bliss
http://cflib.org/udf/filterFilename On Thu, Jan 31, 2013 at 10:12 AM, Robert Harrison < rob...@austin-williams.com> wrote: > > Before I go nuts trying to write a fix for this, I'm hoping maybe someone > will know of a simple solution. Seems like it should be simple. > > I use CFFILE to allow us

RE: cffile question

2006-11-12 Thread Bob Imperial
Thanks Jon! Using html tags in the output for the read works fine for me, guess I should have thought a little more about the specific tag I was having trouble with. Is it possible to include html tags in the output field for the write? I've tried several ways/locations within the output for the w

RE: cffile question

2006-11-12 Thread Bob Imperial
my little brain can come up with is definitely helping things to click for me. Bob -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Sunday, November 12, 2006 12:39 PM To: CF-Talk Subject: Re: cffile question Jon Clausen wrote: > On Nov 12, 2006, at 11:57 AM, Bob I

RE: cffile question

2006-11-12 Thread Bob Imperial
Thanks Doug! Had to be that simple eh ;-) -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Sunday, November 12, 2006 12:38 PM To: CF-Talk Subject: Re: cffile question Doug - Original Message - From: "Bob Imperial" <[EMAIL PROTECTED]&

Re: cffile question

2006-11-12 Thread Rick Root
Jon Clausen wrote: > On Nov 12, 2006, at 11:57 AM, Bob Imperial wrote: > >> 1.)In outputting my datetime here, how would I go about adding the >> AM/PM >> designation for output? >> >> >> > file="#BaseDir#\index.cfm" >> output="Website directories were created successfully on >> #

Re: cffile question

2006-11-12 Thread Doug Brown
Doug - Original Message - From: "Bob Imperial" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Sunday, November 12, 2006 9:57 AM Subject: cffile question > Hi Folks. > > while I realize this a question for the cf_newbie list, the response times > here are always much faster here.

Re: cffile question

2006-11-12 Thread Jon Clausen
On Nov 12, 2006, at 11:57 AM, Bob Imperial wrote: > 1.)In outputting my datetime here, how would I go about adding the > AM/PM > designation for output? > > > file="#BaseDir#\index.cfm" > output="Website directories were created successfully on > #DateFormat(CreateODBCDate(myDate

Re: CFFILE question, rewritten

2004-09-15 Thread Barney Boisvert
It'll only work if the generated file is a CFM template, but you can just write your standard CFML to the file and it'll be processed. You'll have to escape it while writing though.  For example: click Just be VERY careful if you're generating CFM pages, because any dynamic content will

Re: CFFILE question, rewritten

2004-09-15 Thread Thomas Chiverton
On Wednesday 15 Sep 2004 17:23 pm, mayo wrote: > The resulting page should look like the code below: ... > Construct the contents of the page in a string, then write this string to a file - this will enable you to subsituate as needed. -- Tom Chiverton Advanced ColdFusion Programmer Tel: +44

Re: CFFILE Question????

2004-08-26 Thread Ewok
Localy, I dont see whay not. (locally meaning the server itsself) just make all of your cffile destinations point to the A: drive to a clients A: drive... nope   - Original Message -   From: Ciliotta, Mario   To: CF-Talk   Sent: Thursday, August 26, 2004 3:42 PM   Subject: CFFILE Quest

Re: CFFILE Question????

2004-08-26 Thread Neculai Macarie
> Basically I am running a CFQUERY, create the required '|' delimited fields > thru Oracle and I want to some how loop of the output, create a file but save > it directly to the A: drive.  I do not want the file to be created on the > server first and then downloaded to the A: drive. >   > Can this

Re: CFFile Question

2004-08-02 Thread brobborb
HAHAHAH HAHAHAHAHAHAHA!!! I remember doing this one time!   - Original Message -   From: Joe Rinehart   To: CF-Talk   Sent: Monday, August 02, 2004 12:08 PM   Subject: Re: CFFile Question   Donna,   I'd reverse the order of your two queries.  You're deleting the   rec

Re: CFFile Question

2004-08-02 Thread Donna French
Thank you! Works great. Maybe they can hire someone to do the easy stuff - I always complicte the hell out of it!!! Thanks again! Donna   - Original Message -   From: Adkins, Randy   To: CF-Talk   Sent: Monday, August 02, 2004 12:04 PM   Subject: RE: CFFile Question   Reverse your

Re: CFFile Question

2004-08-02 Thread Joe Rinehart
Donna, I'd reverse the order of your two queries.  You're deleting the records, then trying to select them ;) -joe - Original Message - From: Donna French <[EMAIL PROTECTED]> Date: Mon, 2 Aug 2004 11:56:10 -0500 Subject: CFFile Question To: CF-Talk <[EMAIL PROTECTED]> Trying to go back

RE: CFFile Question

2004-08-02 Thread Adkins, Randy
Reverse your queries.. You are deleting all data before the image. Thus when you do your SELECT, there is no data to be found.   _   From: Donna French [mailto:[EMAIL PROTECTED] Sent: Monday, August 02, 2004 12:56 PM To: CF-Talk Subject: CFFile Question Trying to go back and update my web a

Re: cffile question

2004-06-25 Thread Joe Rinehart
04 11:37:04 -0400 Subject: RE: cffile question To: CF-Talk <[EMAIL PROTECTED]> so I can do it as administrator, and change it in the services panel, and restart, and things should be good? tw -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Friday, June 25,

RE: cffile question

2004-06-25 Thread Tony Weeg
so I can do it as administrator, and change it in the services panel, and restart, and things should be good? tw -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Friday, June 25, 2004 11:46 AM To: CF-Talk Subject: RE: cffile question > ok I used the unc path,

RE: cffile question

2004-06-25 Thread Dave Watts
> ok I used the unc path, and still the same thing. The SYSTEM account has no rights or access to other servers, via UNC paths or drive mappings. > what are the implications if I change the cfmx server to be a > different account, other than localSystem?  what could happen > if I make the chang

RE: cffile question

2004-06-25 Thread Tony Weeg
... thanks. tony -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Friday, June 25, 2004 11:20 AM To: CF-Talk Subject: RE: cffile question can you use unc path in cffile? I didn't know that...ill have to try... thanks. tw -Original Message- From: Jedi

RE: cffile question

2004-06-25 Thread Tony Weeg
can you use unc path in cffile? I didn't know that...ill have to try... thanks. tw -Original Message- From: JediHomer [mailto:[EMAIL PROTECTED] Sent: Friday, June 25, 2004 11:04 AM To: CF-Talk Subject: Re: cffile question Have you tried using a UNC path? Also, is CF running

Re: cffile question

2004-06-25 Thread JediHomer
Have you tried using a UNC path? Also, is CF running as a user that has rights to access it, by default CF runs under LocalSystem so has full access to its own machine and thats all HTH - Original Message - From: Tony Weeg <[EMAIL PROTECTED]> Date: Fri, 25 Jun 2004 10:43:32 -0400 Subject

RE: cffile question

2004-06-25 Thread Peterson, Andrew S.
Tony, Are your cfmx services running under the localSystem account or an administrator account? I think that sometimes your LocalSystem account may not have rights to mapped drives, whereas if your CFMX services is running under an administrator account, you'll have better luck. Sincerely,

RE: CFFILE question

2004-03-22 Thread Philip Arnold
> From: Dave Watts > > I'm not sure I understand why you'd specify an unknown MIME > type rather than just use the MIME type for arbitrary binary data: > > "application/octet-stream" For me it's a "paranoia" thing You never know what strange settings a user might have on their browser - if they

RE: CFFILE question

2004-03-22 Thread Dave Watts
> CFCONTENT the file rather than linking to it and change the > content type to something like "ZZ", then it'll force a > download I'm not sure I understand why you'd specify an unknown MIME type rather than just use the MIME type for arbitrary binary data: "application/octet-stream" Dave

RE: CFFILE question

2004-03-22 Thread Philip Arnold
> From: [EMAIL PROTECTED] > > I have an excel file that I have written from a query. When > clicking on the link to download the file, how do I get it to > ask to download it as opposed to opening it in IE? CFCONTENT the file rather than linking to it and change the content type to something li

Re: CFFILE question

2004-03-22 Thread cf
could always write it to a zip file after writtining to excel > I have an excel file that I have written from a query. When clicking on > the link to download the file, how do I get it to ask to download it as > opposed to opening it in IE? > > Thanks! > > [Todays Threads] [This Message] [Su

RE: CFFILE Question

2004-01-14 Thread Bryan F. Hogan
You have a cfoutput right? -Original Message- From: Kelly Matthews [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 11:26 AM To: CF-Talk Subject: Re:CFFILE Question I tried that and that outputs nothing. All the Cf comes through like #form.whatever# and nothing is processed.

RE: CFFILE Question

2004-01-14 Thread Bryan F. Hogan
Instead of cfset use cfsavecontent -Original Message- From: Kelly Matthews [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 11:06 AM To: CF-Talk Subject: CFFILE Question OK I have a form that someone fills out, they hit submit and I present the results.  At the same time I nee

RE: CFFILE Question

2003-10-15 Thread Craig Dudley
cfsilent ?? -Original Message- From: ColdFusion Programmer [mailto:[EMAIL PROTECTED] Sent: 15 October 2003 12:48 To: CF-Talk Subject: Re:CFFILE Question This shows the batch files cmd output but does not error: timeout="5"/> Is there a way to not display the output? >

RE: CFFILE Question

2003-10-15 Thread Craig Dudley
Yes, if you're reading the resultant file straight away, you have to make sure the batch file has finished 1st. (This is exaclty what Calvin suggested) Therefore don't exclude the timeout value on cfexecute. This will show the batch files cmd output... This will not... This also will not,

RE: CFFILE Question

2003-10-15 Thread Craig Dudley
Error number 2 = Can't find file. Try using the full path of the batch file. -Original Message- From: ColdFusion Programmer [mailto:[EMAIL PROTECTED] Sent: 15 October 2003 11:05 To: CF-Talk Subject: Re:CFFILE Question Craig, I don't why I get an error when I run the script on th

RE: CFFILE Question

2003-10-15 Thread Craig Dudley
Nope, create a batch file and execute that. Contents of mybatchfile.bat copy D:\CFusionMX\wwwroot\logReport\SupportiSearches*.log D:\CFusionMX\wwwroot\logReport\destination.log /Y (the /Y stops prompting to overwrite existing files) Then.. from the cf tem

Re: CFFILE Question

2003-10-15 Thread Calvin Ward
ecute with cfsavecontent to capture the output if you are not using MX 6.1. - Calvin   - Original Message -   From: Craig Dudley   To: CF-Talk   Sent: Wednesday, October 15, 2003 5:36 AM   Subject: RE: CFFILE Question   If you want the cf template to finish quickly you could always ex

RE: CFFILE Question

2003-10-15 Thread Craig Dudley
If you want the cf template to finish quickly you could always exclude timeout value from cfexecute aswell, cf then won't wait for any console output. Should do the trick. -Original Message- From: ColdFusion Programmer [mailto:[EMAIL PROTECTED] Sent: 15 October 2003 10:34 To: CF-Talk S

RE: CFFILE Question

2003-10-15 Thread Craig Dudley
If the files are big this will eat memory . Consider using the underlying OS to dfo this sort of thing. use cfexecute to run a batch file for instance, e.g. COPY SupportiSearches*.log destinationfile.log That should do exactly what you want, very, very quickly! -Original Message- From:

RE: CFFILE Question

2003-10-15 Thread Adrian Lynch
Have a look at both cfdirectory and cffile, between them you should be able to do what you want. For more info try http://livedocs.macromedia.com Ade -Original Message- From: Allan Clarke [mailto:[EMAIL PROTECTED] Sent: 15 October 2003 10:12 To: CF-Talk Subject: CFFILE Question He

RE: CFFILE Question

2003-01-22 Thread Tilbrook, Peter
Have a look at CFFTP. == Peter Tilbrook Internet Applications Developer Australian Building Codes Board GPO Box 9839 CANBERRA ACT 2601 AUSTRALIA WWW: http://www.abcb.gov.au/ E-Mail: [EMAIL PROTECTED] Telephone: (02) 6213 6731 Mobile: 0439 401 823 Facsimile: (02) 6213 7287 -Orig

RE: CFFile question

2002-08-21 Thread Dave Watts
> You might want to try setting the ColdFusion Application > Server service to run under a user account as opposed to > the local system account (default) in Win2k services, > particularly if the file in question is on a mapped drive. > Afaik the local system account has read-only permissions t

Re: CFFile question

2002-08-21 Thread S . Isaac Dealey
You might want to try setting the ColdFusion Application Server service to run under a user account as opposed to the local system account (default) in Win2k services, particularly if the file in question is on a mapped drive. Afaik the local system account has read-only permissions to the files o

RE: CFFile question

2002-08-21 Thread Turetsky, Seth
lets see your code, I've gotten errors like that when not putting the full paths in -Original Message- From: Eric [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 21, 2002 2:05 PM To: CF-Talk Subject: CFFile question has anyone else had this happen? I have a query that finds old

RE: CFFILE Question

2000-08-16 Thread Justin Kidman
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --_=_NextPart_000_01C007DB.49E2089A Content-Type: text/plain; charset="iso-8859-1" Use CFDIRECTORY to get a list of files in the directory, loop thr

Re: CFFILE question

2000-05-26 Thread Jim McAtee
You're pretty much on your own. CFFILE provides just simple means of modifying and working with files within the file system. For fixed width columns, I usually use the LeftJustify() function, something like: If the file is relatively small, construct the whole file in m