Re: cffile read 47 MB

2013-12-19 Thread Russ Michaels
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

Re: cffile read 47 MB

2013-12-19 Thread John M Bliss
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

Re: cffile read 47 MB

2013-12-19 Thread richpaul7 .
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

Re: cffile read 47 MB

2013-12-18 Thread John M Bliss
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

cffile read 47 MB

2013-12-09 Thread John M Bliss
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

Re: cffile read 47 MB

2013-12-09 Thread Dave Watts
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

Re: cffile read 47 MB

2013-12-09 Thread Steve 'Cutter' Blades
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

Re: cffile read 47 MB

2013-12-09 Thread John M Bliss
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

Re: cffile read 47 MB

2013-12-09 Thread Russ Michaels
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

Re: cffile read 47 MB

2013-12-09 Thread Matt Quackenbush
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

Re: cffile read 47 MB

2013-12-09 Thread richpaul7 .
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

Re: cffile read 47 MB

2013-12-09 Thread Byron Mann
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

RE: CFFILE Question

2013-10-24 Thread Kevin Parker
...@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

CFFILE Question

2013-10-23 Thread Steve LaBadie
(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

RE: CFFILE Question

2013-10-23 Thread Robert Harrison
://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

Re: CFFILE Question

2013-10-23 Thread Russ Michaels
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

Re: CFFILE Question

2013-10-23 Thread Brian Cain
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

Re: ACF10 and cffile

2013-04-12 Thread John M Bliss
-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

ACF10 and cffile

2013-04-11 Thread John M Bliss
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

Re: ACF10 and cffile

2013-04-11 Thread John M Bliss
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

Re: ACF10 and cffile

2013-04-11 Thread Steve 'Cutter' Blades
, 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

CFFILE Issue

2013-03-07 Thread Bruce Sorge
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

Re: CFFILE Issue

2013-03-07 Thread Bobby
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

Re: CFFILE Issue

2013-03-07 Thread Bruce Sorge
#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

Re: CFFILE Issue

2013-03-07 Thread Dave Watts
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

Re: CFFILE Issue

2013-03-07 Thread Bruce Sorge
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

CFFile Question

2013-01-31 Thread Robert Harrison
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

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 user

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: cffile action=upload destination=#expandPath('.')#/#createUUID()# filefield=postfile result=f Good security dictates first that uploaded files should

RE: CFFILE and spaces in file name (Not Upload)

2013-01-16 Thread Rick Faircloth
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

CFFILE and spaces in file name (Not Upload)

2013-01-15 Thread Adrian Cesana
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

cffile mime type

2012-12-19 Thread Rob Voyle
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

Re: cffile mime type

2012-12-19 Thread Russ Michaels
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

Re: cffile mime type

2012-12-19 Thread Rob Voyle
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

Re: cffile mime type

2012-12-19 Thread Rob Voyle
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

Re: cffile mime type

2012-12-19 Thread Michael van Leest
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

Re: cffile mime type

2012-12-19 Thread Leigh
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

Re: bizarre cffile upload bug.

2012-05-08 Thread Ras Tafari
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

Re: bizarre cffile upload bug.

2012-05-08 Thread Ras Tafari
:) 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

Re: bizarre cffile upload bug.

2012-05-08 Thread Ras Tafari
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

Re: bizarre cffile upload bug.

2012-05-08 Thread Dave Watts
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

Re: bizarre cffile upload bug.

2012-05-08 Thread Ras Tafari
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

bizarre cffile upload bug.

2012-05-07 Thread Tony
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

Re: bizarre cffile upload bug.

2012-05-07 Thread LRS Scout
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

Re: bizarre cffile upload bug.

2012-05-07 Thread Tony
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

Re: bizarre cffile upload bug.

2012-05-07 Thread LRS Scout
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

Re: bizarre cffile upload bug.

2012-05-07 Thread William Seiter
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

Re: bizarre cffile upload bug.

2012-05-07 Thread Tony Weeg
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

Re: bizarre cffile upload bug.

2012-05-07 Thread Tony
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

Re: bizarre cffile upload bug.

2012-05-07 Thread Dave Watts
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

Re: bizarre cffile upload bug.

2012-05-07 Thread Ras Tafari
/ /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

Re: bizarre cffile upload bug.

2012-05-07 Thread Tony
...@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

Re: bizarre cffile upload bug.

2012-05-07 Thread Dave Watts
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.

Re: bizarre cffile upload bug.

2012-05-07 Thread Dave Watts
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/

Re: bizarre cffile upload bug.

2012-05-07 Thread .jonah
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

RE: CFFILE to \\tsclient\c$\

2012-01-30 Thread Brook Davies
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

Re: CFFILE to \\tsclient\c$\

2012-01-30 Thread Andrew Scott
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

RE: CFFILE to \\tsclient\c$\

2012-01-30 Thread Brook Davies
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

Re: CFFILE to \\tsclient\c$\

2012-01-30 Thread Andrew Scott
] 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

RE: CFFILE to \\tsclient\c$\

2012-01-30 Thread Brook Davies
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

Re: CFFILE to \\tsclient\c$\

2012-01-30 Thread Andrew Scott
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

RE: CFFILE to \\tsclient\c$\

2012-01-30 Thread Brook Davies
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

Re: CFFILE to \\tsclient\c$\

2012-01-30 Thread Andrew Scott
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

RE: CFFILE to \\tsclient\c$\

2012-01-30 Thread Brook Davies
: 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

CFFILE to \\tsclient\c$\

2012-01-29 Thread Brook Davies
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

Re: CFFILE to \\tsclient\c$\

2012-01-29 Thread AJ Mercer
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

RE: CFFILE to \\tsclient\c$\

2012-01-29 Thread Brook Davies
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

Re: CFFILE to \\tsclient\c$\

2012-01-29 Thread Andrew Scott
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

Re: CFFILE to \\tsclient\c$\

2012-01-29 Thread AJ Mercer
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

cffile action=write - permissions being set incorrectly (CF8.1)

2012-01-03 Thread Wayne Gregor
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

Re: cffile action=write - permissions being set incorrectly (CF8.1)

2012-01-03 Thread Drew Nathanson
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

CFFILE in CFWINDOW

2011-09-13 Thread Scott Spurlock
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

Re: CFFILE in CFWINDOW

2011-09-13 Thread Chad Baloga
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

Re: CFFILE in CFWINDOW

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

Re: CFFILE / CFCATCH

2011-07-04 Thread Mack
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

Re: Changed internal IP addresses on server - cffile breaks?

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

RE: CFFILE / CFCATCH

2011-07-01 Thread Jenny Gavin-Wear
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

Changed internal IP addresses on server - cffile breaks?

2011-07-01 Thread Patti, Michael
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

Re: Changed internal IP addresses on server - cffile breaks?

2011-07-01 Thread Dan Blickensderfer
: 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

Re: Changed internal IP addresses on server - cffile breaks?

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

RE: Changed internal IP addresses on server - cffile breaks?

2011-07-01 Thread Patti, Michael
-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

Re: Changed internal IP addresses on server - cffile breaks?

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

RE: Changed internal IP addresses on server - cffile breaks?

2011-07-01 Thread Patti, Michael
: 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

RE: Changed internal IP addresses on server - cffile breaks?

2011-07-01 Thread Patti, Michael
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

Re: Changed internal IP addresses on server - cffile breaks?

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

Re: Changed internal IP addresses on server - cffile breaks?

2011-07-01 Thread Dan Blickensderfer
: 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

RE: Changed internal IP addresses on server - cffile breaks?

2011-07-01 Thread Bobby Hartsfield
: 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

RE: Changed internal IP addresses on server - cffile breaks?

2011-07-01 Thread Patti, Michael
...@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

Re: Changed internal IP addresses on server - cffile breaks?

2011-07-01 Thread Dan Blickensderfer
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

RE: CFFILE / CFCATCH

2011-06-30 Thread Andrew Scott
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

Re: CFFILE / CFCATCH

2011-06-30 Thread John M Bliss
/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

RE: CFFILE / CFCATCH

2011-06-30 Thread Jenny Gavin-Wear
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

RE: CFFILE / CFCATCH

2011-06-30 Thread Andrew Scott
: 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

Re: CFFILE / CFCATCH

2011-06-30 Thread John M Bliss
] 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

Re: CFFILE / CFCATCH

2011-06-30 Thread Michael Grant
+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

RE: CFFILE / CFCATCH

2011-06-30 Thread Jenny Gavin-Wear
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

Re: CFFILE / CFCATCH

2011-06-30 Thread morgan l
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

CFFILE / CFCATCH

2011-06-29 Thread Jenny Gavin-Wear
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

cffile append too slow

2011-06-20 Thread Richard White
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

Re: cffile append too slow

2011-06-20 Thread Jeffrey Battershall
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   2   3   4   5   6   7   8   9   10   >