Do you need to read the whole file in or could you process it line by line
Russ Michaels
www.michaels.me.uk
cfmldeveloper.com
cflive.net
cfsearch.com
On 19 Dec 2013 06:54, John M Bliss bliss.j...@gmail.com wrote:
The FileRead function seems to have the same problem as cffile. Java heap
space
cfmldeveloper.com
cflive.net
cfsearch.com
On 19 Dec 2013 06:54, John M Bliss bliss.j...@gmail.com wrote:
The FileRead function seems to have the same problem as cffile. Java
heap
space errors. Am I doing something wrong?
On Mon, Dec 9, 2013 at 5:34 PM, richpaul7 . richpa
www.michaels.me.uk
cfmldeveloper.com
cflive.net
cfsearch.com
On 19 Dec 2013 06:54, John M Bliss bliss.j...@gmail.com wrote:
The FileRead function seems to have the same problem as cffile. Java
heap
space errors. Am I doing something wrong?
On Mon, Dec 9, 2013 at 5:34 PM, richpaul7 . richpa
The FileRead function seems to have the same problem as cffile. Java heap
space errors. Am I doing something wrong?
On Mon, Dec 9, 2013 at 5:34 PM, richpaul7 . richpa...@gmail.com wrote:
use the FileRead function. it can handle large files and doesn't suck up
all the resources. forget
Hi, I'm attempting to perform a cffile read on a 47 MB XML file. It's
failing but ACF10 is not throwing an error to the browser. Finally dug into
the logs and am seeing Java heap space errors. My JVM is configured as
such:
Min JVM Heap Size - 256
Max JVM Heap Size - 512
JVM Arguments
Hi, I'm attempting to perform a cffile read on a 47 MB XML file. It's
failing but ACF10 is not throwing an error to the browser. Finally dug into
the logs and am seeing Java heap space errors. My JVM is configured as
such:
Min JVM Heap Size - 256
Max JVM Heap Size - 512
JVM Arguments
Learning Ext JS 3.2 Packt Publishing 2010
https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book
The best way to predict the future is to help create it
On 12/9/2013 4:01 PM, John M Bliss wrote:
Hi, I'm attempting to perform a cffile read on a 47 MB XML
create it
On 12/9/2013 4:01 PM, John M Bliss wrote:
Hi, I'm attempting to perform a cffile read on a 47 MB XML file. It's
failing but ACF10 is not throwing an error to the browser. Finally dug
into
the logs and am seeing Java heap space errors. My JVM is configured as
such:
Min JVM Heap
wrote:
Hi, I'm attempting to perform a cffile read on a 47 MB XML file. It's
failing but ACF10 is not throwing an error to the browser. Finally dug
into
the logs and am seeing Java heap space errors. My JVM is configured
as
such:
Min JVM Heap Size - 256
Max JVM Heap Size - 512
the future is to help create it
On 12/9/2013 4:01 PM, John M Bliss wrote:
Hi, I'm attempting to perform a cffile read on a 47 MB XML file. It's
failing but ACF10 is not throwing an error to the browser. Finally dug
into
the logs and am seeing Java heap space errors. My JVM is configured
use the FileRead function. it can handle large files and doesn't suck up
all the resources. forget trying to use CFFILE for large files.
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions_e-g_13.html
On Mon, Dec 9, 2013 at 2:30 PM, Russ Michaels r...@michaels.me.uk
manipulation
stuff?
Byron Mann
Lead Engineer Architect
HostMySite.com
On Dec 9, 2013 5:04 PM, John M Bliss bliss.j...@gmail.com wrote:
Hi, I'm attempting to perform a cffile read on a 47 MB XML file. It's
failing but ACF10 is not throwing an error to the browser. Finally dug into
the logs and am
...@po-box.esu.edu]
Sent: Thursday, 24 October 2013 12:08 AM
To: cf-talk
Subject: CFFILE Question
I have a web-based form that requires the user to upload a document.
Everything works fine until I try and delete the document after delivery.
With the delete action enabled the email does not get
(form.attached) AND form.attached NEQ
cffile action=upload destination=f:\inetpub\wwwroot\..\..\upload
mode=644 nameConflict=overwrite fileField=form.attached
cfset attachment=f:\inetpub\wwwroot\..\..\upload\#cffile.serverFile#
/cfif
cfprocessingdirective suppresswhitespace
://www.twitter.com/austin_williams
-Original Message-
From: Steve LaBadie [mailto:slaba...@po-box.esu.edu]
Sent: Wednesday, October 23, 2013 9:08 AM
To: cf-talk
Subject: CFFILE Question
I have a web-based form that requires the user to upload a document. Everything
works fine until I try and delete
action enabled the email does not get delivered. I have
place the action=delete inside and outside of the /cfmail
cfif isDefined(form.attached) AND form.attached NEQ
cffile action=upload
destination=f:\inetpub\wwwroot\..\..\upload mode=644
nameConflict=overwrite fileField=form.attached
try and delete the document after delivery.
With the delete action enabled the email does not get delivered. I have
place the action=delete inside and outside of the /cfmail
cfif isDefined(form.attached) AND form.attached NEQ
cffile action=upload
destination=f:\inetpub\wwwroot
-cffile-restricting-file.html
In reading that, you might try setting the strict attribute to false,
as a test. You could try, as the docs show it, putting a space between
each MIME type. Have you checked Google yet? Might find something there
too. I found this StackOverflow post that mentioned
Under ACF8, this:
cffile action=upload accept=text/csv,application/vnd.ms-excel...
...would accept CSV files. Under ACF10, it throws, Only files of type
text/csv,application/vnd.ms-excel can be uploaded. Verify that you are
uploading a file of the appropriate type.
Is that right / known
When I remove the accept and dump the cffile var, I see:
CONTENTSUBTYPE vnd.ms-excel
CONTENTTYPE application
...which means my accept should be good, no?
On Thu, Apr 11, 2013 at 2:17 PM, John M Bliss bliss.j...@gmail.com wrote:
Under ACF8, this:
cffile action=upload accept=text/csv
, that points
out some new bits in the MIME Type handling:
http://www.sagarganatra.com/2012/03/coldfusion-10-cffile-restricting-file.html
In reading that, you might try setting the strict attribute to false,
as a test. You could try, as the docs show it, putting a space between
each MIME type. Have you
I am having something strange going on today with my dev machine. I have an app
that writes a PDF:
cffile action=write file=pdf/Voucher#user_id#.pdf output=#Voucher#
nameconflict=make unique
It has been working great, but today when I ran it I was given an java.io error
that a folder did
have
an app that writes a PDF:
cffile action=write file=pdf/Voucher#user_id#.pdf output=#Voucher#
nameconflict=make unique
It has been working great, but today when I ran it I was given an java.io
error that a folder did not exist. Funny thing was that it was looking at
the following path
#user_id#.pdf
Or
#expandPath('./pdf/')# 'voucher#user_id#.pdf'
On 3/7/13 3:41 PM, Bruce Sorge sor...@gmail.com wrote:
I am having something strange going on today with my dev machine. I have
an app that writes a PDF:
cffile action=write file=pdf/Voucher#user_id#.pdf output
I am having something strange going on today with my dev machine. I have an
app that writes a PDF:
cffile action=write file=pdf/Voucher#user_id#.pdf output=#Voucher#
nameconflict=make unique
It has been working great, but today when I ran it I was given an java.io
error that a folder
Hi Dave,
On my dev machine it did not exist, but it worked, and it worked on the live
server. The only real change I made was I created a new directory in the admin
folder called pdf so that the new one's get generated there. I updated the
permissions on my dev machine to read/write for the cf
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 user to upload files to our extranet. Our server is
windows based, so it does not support all of the file characters supported
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 user
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:
cffile action=upload destination=#expandPath('.')#/#createUUID()#
filefield=postfile result=f
Good security dictates first that uploaded files should
file list, loop over
that list and use cffile action=move
Or it might work just as well to rename and delete in the
first loop over the directory filelist.
Rick
-Original Message-
From: Adrian Cesana [mailto:t...@ascc.com]
Sent: Wednesday, January 16, 2013 1:18 AM
To: cf-talk
Subject
I am cleaning up an older site that has grown a bit out of control with all
images being dumped into a single directory. Almost all the filenames have a
space in them.
I am trying to use CFFILE action=move to clean things up but apparently
CFFILE does not like the spaces in the file names
Hi Folks
I am using CF9 creating a form to upload images to website.
cffile action=upload
fileField=fileUpload
result=outcome
accept = image/jpg
nameConflict = overwrite
destination=#mediaPath#
I have a photo.jpg which gets the error
The MIME type
On Dec 19, 2012 11:53 PM, Rob Voyle robvo...@voyle.com wrote:
Hi Folks
I am using CF9 creating a form to upload images to website.
cffile action=upload
fileField=fileUpload
result=outcome
accept = image/jpg
nameConflict = overwrite
destination
using CF9 creating a form to upload images to website.
cffile action=upload
fileField=fileUpload
result=outcome
accept = image/jpg
nameConflict = overwrite
destination=#mediaPath#
I have a photo.jpg which gets the error
Hi Folks
Adding the accept doesn't really work as it triggers a CF error message
I want to interupt the process before that .
I don't know ajax or a way to access the file name before it gets converted to
a
tmp file
Rob
On 19 Dec 2012 at 16:16, Rob Voyle wrote:
Hi Russ
Thanks
javascript checking is not very secure and specially file-extension
checking.
You can do some sort of javascript check to do a client side validation,
but the cffile check is a little more thorough as it checks the file if it
is the correct mime-type, even if you rename the extension if I'm
also is there a way to determine the name of the file to be uploaded before
it
actually does the upload fileUpload gives a neotmp .tmp which doesn't
cffile
action=upload is a bit of a misnomer. The file is already uploaded by the time
your cfm script is processed. In reality cffile
the file is written as a 103kb file both ways, its ftp'd up, as the same size.
cffile through chrome (beta) = no dice
cffile through safari = workie workie
as i said, gonna test more this am.
On Mon, May 7, 2012 at 11:57 PM, Dave Watts dwa...@figleaf.com wrote:
I must assume that the beta
:) dude. seriously.
the controller has no play in this, the controller merely
does the sql insertion of the record that yes a file has been uploaded,
here is its name, publish date, etc.
this piece is behind the site, in the /admin area. there's no VIEWING of the
pdf back there just uploading
so, I made a simple test case :) and it worked in chrome.
so, maybe the cflocation (back to the you've succeeded page) that is
after the cffile tag would make the file not correct, and corrupt??
weird.
weird.
tw
On Tue, May 8, 2012 at 8:31 AM, Ras Tafari rastaf...@gmail.com wrote:
:) dude
so, I made a simple test case :) and it worked in chrome.
http://www.youtube.com/watch?feature=player_detailpagev=cCI18qAoKq4#t=59s
so, maybe the cflocation (back to the you've succeeded page) that is
after the cffile tag would make the file not correct, and corrupt??
weird.
weird.
How
so, maybe the cflocation (back to the you've succeeded page) that is
after the cffile tag would make the file not correct, and corrupt??
weird.
weird.
How often have I said to you that when you have eliminated the
impossible, whatever remains, however improbable, must be the truth?
Dave
hi there.
im sending a file to my server with the following code:
cffile action=upload destination=d:\webserver\doman.com\www\docs
nameconflict=overwrite filefield=pdf_file attributes=readonly /
the result of this when I browse the file in chrome and safari (on my
mac) both result in a Failed
Do you have the form attributes right, umm type and method?
On Mon, May 7, 2012 at 9:32 PM, Tony tonyw...@gmail.com wrote:
hi there.
im sending a file to my server with the following code:
cffile action=upload destination=d:\webserver\doman.com\www\docs
nameconflict=overwrite filefield
wrote:
Do you have the form attributes right, umm type and method?
On Mon, May 7, 2012 at 9:32 PM, Tony tonyw...@gmail.com wrote:
hi there.
im sending a file to my server with the following code:
cffile action=upload destination=d:\webserver\doman.com\www\docs
nameconflict=overwrite
with the following code:
cffile action=upload destination=d:\webserver\doman.com\www\docs
nameconflict=overwrite filefield=pdf_file attributes=readonly /
the result of this when I browse the file in chrome and safari (on my
mac) both result in a Failed to Load PDF Document error.
_however_
if I
sending a file to my server with the following code:
cffile action=upload destination=d:\webserver\doman.com\www\docs
nameconflict=overwrite filefield=pdf_file attributes=readonly /
the result of this when I browse the file in chrome and safari (on my
mac) both result in a Failed to Load PDF
to add a
mapping to the server.
--
William Seiter
On May 7, 2012, at 6:32 PM, Tony tonyw...@gmail.com wrote:
hi there.
im sending a file to my server with the following code:
cffile action=upload destination=d:\webserver\doman.com\www\docs
nameconflict=overwrite
to my server with the following code:
cffile action=upload destination=d:\webserver\doman.com\www\docs
nameconflict=overwrite filefield=pdf_file attributes=readonly /
the result of this when I browse the file in chrome and safari (on my
mac) both result in a Failed to Load PDF Document error
im sending a file to my server with the following code:
cffile action=upload destination=d:\webserver\doman.com\www\docs
nameconflict=overwrite filefield=pdf_file attributes=readonly /
the result of this when I browse the file in chrome and safari (on my
mac) both result in a Failed
/
/cfcatch
/cftry
On Mon, May 7, 2012 at 10:27 PM, Dave Watts dwa...@figleaf.com wrote:
im sending a file to my server with the following code:
cffile action=upload
...@gmail.com wrote:
hi there.
im sending a file to my server with the following code:
cffile action=upload destination=d:\webserver\doman.com\www\docs
nameconflict=overwrite filefield=pdf_file attributes=readonly /
the result of this when I browse the file in chrome and safari (on my
mac
but seriously, I'm merely hitting a method in my main controller that
does stuff for this site.
works in safari 100% of the time!!! just not chrome.
I'm still going with something happening after the file upload for
$100, Alex. But to see what exactly this might be, here's what I'd do:
1.
I must assume that the beta tag is maybe what is happening here.
something about the filestream is getting corrupt when sending a file up.
wird.
Is the file itself written properly to the server in both cases?
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Can you download the uploaded file via FTP and open it in Chrome?
Also is it byte-for-byte the same as the original you uploaded?
On 5/7/12 8:57 PM, Dave Watts wrote:
I must assume that the beta tag is maybe what is happening here.
something about the filestream is getting corrupt when
Brook
-Original Message-
From: Andrew Scott [mailto:andr...@andyscott.id.au]
Sent: January-29-12 10:02 PM
To: cf-talk
Subject: Re: CFFILE to \\tsclient\c$\
Are you saying that you are using a Remote Desktop Client to connect to the
server, and you want ColdFusion to be able to access
That's because you are doing it from the RDC, due to security reasons you
are in a session that is allowed this. But if you were to physically go to
the machine / server you would not be able to see your machine this way.
Now this is where I could be wrong, because my understanding is that if
of the file structure and
files that are integrated with the form object...
Brook
-Original Message-
From: Andrew Scott [mailto:andr...@andyscott.id.au]
Sent: January-30-12 8:28 AM
To: cf-talk
Subject: Re: CFFILE to \\tsclient\c$\
That's because you are doing it from the RDC, due
]
Sent: January-30-12 8:28 AM
To: cf-talk
Subject: Re: CFFILE to \\tsclient\c$\
That's because you are doing it from the RDC, due to security reasons you
are in a session that is allowed this. But if you were to physically go to
the machine / server you would not be able to see your machine
my localhost as a list of available servers to copy the data to would
have been nice, but its not a 100% requirement.
Brook
-Original Message-
From: Andrew Scott [mailto:andr...@andyscott.id.au]
Sent: January-30-12 9:31 AM
To: cf-talk
Subject: Re: CFFILE to \\tsclient\c$\
Why don't
Sounds like you need a better debugging strategy then.
--
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/108193156965451149543
On Tue, Jan 31, 2012 at 5:01 AM, Brook Davies cft...@logiforms.com wrote:
Yeah, that's an option, I could create a
I do? Why?
-Original Message-
From: Andrew Scott [mailto:andr...@andyscott.id.au]
Sent: January-30-12 10:11 AM
To: cf-talk
Subject: Re: CFFILE to \\tsclient\c$\
Sounds like you need a better debugging strategy then.
--
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au
To: cf-talk
Subject: Re: CFFILE to \\tsclient\c$\
Sounds like you need a better debugging strategy then.
--
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/108193156965451149543
On Tue, Jan 31, 2012 at 5:01 AM, Brook Davies cft...@logiforms.com
: CFFILE to \\tsclient\c$\
Because of your comment this system is intended to transfer the objects
from a production server to another server used specifically for debugging
, I think there has to be a better way to sync and debug than what you're
doing.
I mean why can't you use red-gate for MS SQL
Anybody ever tried to call CFFILE or CFDIRECTORY to a connected RDP session?
I'm getting an access denied error even though I have added the cf account
on my local box. Maybe this is just not possible?
Brook
~|
Order
you will need to run your CF services with a named account
and that account will need access permissions to that share
On 30 January 2012 09:17, Brook Davies br...@logiforms.com wrote:
Anybody ever tried to call CFFILE or CFDIRECTORY to a connected RDP
session?
I'm getting an access denied
Hi AJ, I am doing that - have you done this successfully?
Brook
-Original Message-
From: AJ Mercer [mailto:ajmer...@gmail.com]
Sent: January-29-12 5:25 PM
To: cf-talk
Subject: Re: CFFILE to \\tsclient\c$\
you will need to run your CF services with a named account and that account
this successfully?
Brook
-Original Message-
From: AJ Mercer [mailto:ajmer...@gmail.com]
Sent: January-29-12 5:25 PM
To: cf-talk
Subject: Re: CFFILE to \\tsclient\c$\
you will need to run your CF services with a named account and that account
will need access permissions to that share
this successfully?
Brook
-Original Message-
From: AJ Mercer [mailto:ajmer...@gmail.com]
Sent: January-29-12 5:25 PM
To: cf-talk
Subject: Re: CFFILE to \\tsclient\c$\
you will need to run your CF services with a named account and that account
will need access permissions to that share
I am using cffile to write files to a linux directory but
the permissions are not being set correctly. I'm interested
in '777' but cffile sets them to '644'. Has anyone else had
this problem?
cffile action=write
file=/home/www/www.gregorigroup.com/htdocs/market_data/data.htm
output
Wayne,
You may need to check to see what the directory is set to. Also check the
ownership of the directory. By default the Linux OS writes files as 644. You
can set the default in the /etc/profile file using the umask command.
Drew Nathanson
Technical Synergy, Inc.
I am using cffile
In CF8, I'm trying to upload multiple files via a CFFORM in a CFWINDOW. I've
googled enough to know it can't be done with just good ol' ColdFusion since the
file upload fields aren't being passed along in the form. I've looked at
uploadify and some other AJAX solutions, but I don't need
Have you tried cffileupload? I wrote some code a few weeks ago that has a
cffileupload in a cfwindow
On Sep 13, 2011 6:33 PM, Scott Spurlock spurlock.sc...@yahoo.com wrote:
In CF8, I'm trying to upload multiple files via a CFFORM in a CFWINDOW.
I've googled enough to know it can't be done with
there is a nice flash uploader at www.asfusion.com which might do what you need.
On Tue, Sep 13, 2011 at 11:54 PM, Chad Baloga cbal...@gmail.com wrote:
Have you tried cffileupload? I wrote some code a few weeks ago that has a
cffileupload in a cfwindow
On Sep 13, 2011 6:33 PM, Scott Spurlock
On Fri, Jul 1, 2011 at 4:16 AM, morgan l greyk...@gmail.com wrote:
Looks like you're the victim of scenario #2 in this KB article:
http://kb2.adobe.com/cps/181/tn_18171.html
That article applies to CF5 and I doubt Jenny is running CF5.
--
Mack
correctly instead of modifying my lmhost and host files
on each server.
Good luck.
Dan
-Original Message-
From: Patti, Michael
Sent: Friday, July 01, 2011 5:27 PM
To: cf-talk
Subject: RE: Changed internal IP addresses on server - cffile breaks?
When I run 'ipconfig /flushdns
Many thanks for your reply, interesting article.
I think this article would only apply if I was losing all session variables?
-Original Message-
From: morgan l [mailto:greyk...@gmail.com]
Sent: 01 July 2011 02:16
To: cf-talk
Subject: Re: CFFILE / CFCATCH
Looks like you're
I recently had to change the internal IP addresses of my Windows 2003 (32 bit)
server that is running CF8 standard. The IPs were changed from a 10.0.0.x
format to 192.168.31.x format.
After the change was made, CF appeared to be running fine; but I'm running into
a problem with cffile
: Changed internal IP addresses on server - cffile breaks?
I recently had to change the internal IP addresses of my Windows 2003 (32
bit) server that is running CF8 standard. The IPs were changed from a
10.0.0.x format to 192.168.31.x format.
After the change was made, CF appeared to be running
in the WINS manager.
~Dan
-Original Message-
From: Patti, Michael
Sent: Friday, July 01, 2011 11:35 AM
To: cf-talk
Subject: Changed internal IP addresses on server - cffile breaks?
I recently had to change the internal IP addresses of my Windows 2003 (32
bit) server that is running
-talk
Subject: Re: Changed internal IP addresses on server - cffile breaks?
CF caches DNS, have you restarted CF since ?
On Fri, Jul 1, 2011 at 4:44 PM, Dan Blickensderfer
d...@blickensderfer.comwrote:
Michael,
It sounds like you have a WINS Server running on your network that
isn't getting
I presume you are using CFFILE to write files to another server on the
network not to the local machine ?
do you have any actual error you can give us ?
Russ
On Fri, Jul 1, 2011 at 4:52 PM, Patti, Michael mpa...@sherwood-group.comwrote:
Yeah, I've restarted both CF and the entire server
: Russ Michaels [mailto:r...@michaels.me.uk]
Sent: Friday, July 01, 2011 11:05 AM
To: cf-talk
Subject: Re: Changed internal IP addresses on server - cffile breaks?
I presume you are using CFFILE to write files to another server on the network
not to the local machine ?
do you have any actual error
to be updated?
-Original Message-
From: Patti, Michael
Sent: Friday, July 01, 2011 11:16 AM
To: cf-talk
Subject: RE: Changed internal IP addresses on server - cffile breaks?
The program that's trying to write the file is an ancient CMS that used to be
called 'ActiveMatter' and has been re
Subject: RE: Changed internal IP addresses on server - cffile breaks?
The program that's trying to write the file is an ancient CMS that used to
be called 'ActiveMatter' and has been re-branded as 'iMIS eContent Manager'.
It makes use of a .net-driven publishing service that also lives
: Friday, July 01, 2011 12:57 PM
To: cf-talk
Subject: Re: Changed internal IP addresses on server - cffile breaks?
not likely that just looks like an install file, perhaps it is
.net connecting to CF on the old IP ?
On Fri, Jul 1, 2011 at 5:21 PM, Patti, Michael
mpa...@sherwood-group.comwrote:
I
: Changed internal IP addresses on server - cffile breaks?
I recently had to change the internal IP addresses of my Windows 2003 (32
bit) server that is running CF8 standard. The IPs were changed from a
10.0.0.x format to 192.168.31.x format.
After the change was made, CF appeared to be running fine
...@acoderslife.com]
Sent: Friday, July 01, 2011 3:12 PM
To: cf-talk
Subject: RE: Changed internal IP addresses on server - cffile breaks?
Have you flushed DNS on the two machines?
ipconfig /flushdns
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com
-Original Message
PM
To: cf-talk
Subject: RE: Changed internal IP addresses on server - cffile breaks?
When I run 'ipconfig /flushdns' from the web server, it reports back:
---
Windows IP Configuration
Could not flush the DNS Resolver Cache: Function failed during execution.
---
I did 'ipconfig /all' to check
about this
sort of thing some months ago.
Regards,
Andrew Scott
http://www.andyscott.id.au/
-Original Message-
From: Jenny Gavin-Wear [mailto:jenn...@fasttrackonline.co.uk]
Sent: Thursday, 30 June 2011 2:20 PM
To: cf-talk
Subject: CFFILE / CFCATCH
I'm trying to cfcatch cffile
/unpredictable (i.e. you won't find a set-in-stone one-to-one
relationship between mimtypes and extensions...it changes based on OS,
browser, etc).
cfif not listfindnocase(listOfOkExtensions, listlast(cffile.serverfile,
.))
cffile action=delete
file=#session.currentDirectory##cffile.serverfile#
cfset
be very interested to read it, please.
Thanks,
Jenny
-Original Message-
From: Andrew Scott [mailto:andr...@andyscott.id.au]
Sent: 30 June 2011 07:57
To: cf-talk
Subject: RE: CFFILE / CFCATCH
Jenny, I am going to assume that you have tried to cfdump and abort in the
cfcatch to see what
: Friday, 1 July 2011 12:11 AM
To: cf-talk
Subject: RE: CFFILE / CFCATCH
Hi John,
Thanks for the reply.
Yes, I dumped the results of the cfcatch.
Strangely, the cflocation is working, but the session.sysmessage is not
working. So although the use correctly gets returned
]
Sent: 30 June 2011 07:57
To: cf-talk
Subject: RE: CFFILE / CFCATCH
Jenny, I am going to assume that you have tried to cfdump and abort in
the
cfcatch to see what the message contains. Failing that I do know that
some
of these messages have hidden characters and will not match even
+1.
cfdump var=#cfcatch#/
cfabort /
Also, you can drop the extraneous cfoutput around the cffile. Variables are
automatically outputted if used as an attribute value in a cftag and wrapped in
#.
Sent from my iPhone.
On 2011-06-30, at 2:56 AM, Andrew Scott andr...@andyscott.id.au wrote
To: cf-talk
Subject: Re: CFFILE / CFCATCH
+1.
cfdump var=#cfcatch#/
cfabort /
Also, you can drop the extraneous cfoutput around the cffile.
Variables are automatically outputted if used as an attribute
value in a cftag and wrapped in #.
Sent from my iPhone.
On 2011-06-30, at 2:56 AM, Andrew Scott
not being set inside the cfcatch.
I'm sure I am catching the error for the cflocation to trigger.
Jenny
-Original Message-
From: Michael Grant [mailto:mgr...@modus.bz]
Sent: 01 July 2011 00:04
To: cf-talk
Subject: Re: CFFILE / CFCATCH
+1.
cfdump var=#cfcatch#/
cfabort /
Also
I'm trying to cfcatch cffile mime type errors.
I can't see where I'm going wrong.
cftry
cfoutput
cffile action=upload attributes=normal
destination=#session.currentDirectory#
filefield=form.fileField nameconflict=overwrite accept=image/jpeg,
image/jpg, image/pjpeg, image/gif, image/png
Hi,
We have noticed that simply writing 1 line to a text file using cffile append
takes approx 800ms. is there a quicker alternative to this?
thanks
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe
If you're using CF8 or CF9 you have the newer File functions. They
may well perform better than CFFILE.
On Mon, Jun 20, 2011 at 11:39 AM, Richard White rich...@j7is.co.uk wrote:
Hi,
We have noticed that simply writing 1 line to a text file using cffile append
takes approx 800ms
1 - 100 of 2417 matches
Mail list logo