: Sunday, February 18, 2001 2:54 PM
To: CF-Talk
Subject: RE: ColdFusion File Handling
There is no reason that you can't use the HTTP headers to determine
size, cgi.content_length will give you a good *approximation* of the
file size that is being uploaded. I say approximation because content
Anyone have thoughts on general performance improvments when
generating a LOT of output from ColdFusion? A user was trying to
generate CSV output from a select from ColdFusion and it was
taking forever. They were generating a line at a time to the
file. So then they tried to generate it
Anyone have thoughts on general performance improvments when
generating a LOT of output from ColdFusion? A user was trying to
generate CSV output from a select from ColdFusion and it was
taking forever. They were generating a line at a time to the
file. So then they tried to generate it
Re: scheduled runs
Certainly that is one option. The application however is one in
which they are trying to quickly get answers regarding sales in
particular regions, etc. and that tends to cut down the
interactiveness of the 'what if' scenarios...
--
Larry W. Virden URL: mailto:[EMAIL
Re: scheduled runs
Certainly that is one option. The application however is one in
which they are trying to quickly get answers regarding sales in
particular regions, etc. and that tends to cut down the
interactiveness of the 'what if' scenarios...
How long does it take for you to get the
There is no reason that you can't use the HTTP headers to determine
size, cgi.content_length will give you a good *approximation* of the
file size that is being uploaded. I say approximation because content
length is the size of all the content on the page, of which you might
have form
I think the problem here is that, by the time CF could read the
Content-Length HTTP request header, it's too late - the browser
has sent the
file within the HTTP request body, and the web server has already received
it.
Before the CF engine receives an HTTP request to process, that
: lv2bounce
http://www.cs.odu.edu/~bader
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 18, 2001 3:59 PM
To: CF-Talk
Subject: RE: ColdFusion File Handling
I think the problem here is that, by the time CF could read
://www.cs.odu.edu/~bader
-Original Message-
From: Terry Bader [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 18, 2001 4:08 PM
To: CF-Talk
Subject: RE: ColdFusion File Handling
min can ya check your links, im not getting a thing... 404
Terry Bader
IT/Web
sry, just re-read the post.. nvrmind
min can ya check your links, im not getting a thing... 404
:-) I suppose I should have said "for example".
--min
~~
Structure your ColdFusion code with Fusebox. Get the official book at
Their is no reason that you can't use the HTTP headers to determine
size, cgi.content_length will give you a good *approximation* of the
file size that is being uploaded. I say approximation because content
length is the size of all the content on the page, of which you might
have form fields or
The thing I don't get is why CF couldn't look at the length parameter in the
HTTP header, and terminate the request if it doesn't like it... or does only IIS
get access to that before the whole HTTP request has gone through?
Theoretically, I imagine CF could start processing a request before the
I'm pretty sure some of the replies here may have already answered
your question. I've battled with project managers about this because
they want to be able to somehow assure a client that there is NO way
you can upload a file greater than a certain size. And like the guys
before me have said,
I have a different question about the method CF uses for file transfers on
Windows NT.
When I copy over a network, I know Windows NT reads the file to the computer
initiating the command and then copies the file to the destination. Does
CFFILE on NT do the same thing?
Also, does CFCONTENT read
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Phoeun,
I'm pretty sure some of the replies here may have already answered
your question. I've battled with project managers about this because
they want to be able to somehow assure a client that there is NO way
you can upload a file greater
ColdFusion has no way of knowing what the file size is BEFORE it reaches the
server. The way i've done it is allow the full file to be uploaded, check
the file size (CFFILE) and then delete it. Of course, the system will warn
the user that the file they uploaded was too big AFTER CF has checked
No. CF doesn't see the file until AFTER it's moved to the server
-Original Message-
From: Phoeun Pha [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 12, 2001 9:11 AM
To: CF-Talk
Subject: ColdFusion File Handling
We got a bunch of file uploading forms. we want the max file size to be
At 11:11 1/12/01 -0600, you wrote:
We got a bunch of file uploading forms. we want the max file size to be
5mb. is there a way coldfusion can check the file size without having the
file being fully uploaded on the computer? please reply soon!
thanx
I wish they would have built that into the
no, not unless the user inputs the file size. CF resides on the server,
there's no way for it to "look at" the client machine.
chris olive, cio
cresco technologies
[EMAIL PROTECTED]
http://www.crescotech.com
-Original Message-
From: Phoeun Pha [mailto:[EMAIL PROTECTED]]
Sent: Friday,
This could probably be done via JavaScript.
Kevin
[EMAIL PROTECTED] 01/12/01 01:20PM
No. CF doesn't see the file until AFTER it's moved to the server
-Original Message-
From: Phoeun Pha [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 12, 2001 9:11 AM
To: CF-Talk
Subject:
PM
To: CF-Talk
Subject: RE: ColdFusion File Handling
This could probably be done via JavaScript.
Kevin
[EMAIL PROTECTED] 01/12/01 01:20PM
No. CF doesn't see the file until AFTER it's moved to the server
-Original Message-
From: Phoeun Pha [mailto:[EMAIL PROTECTED]]
Sent: Friday
21 matches
Mail list logo