> This is true for any web server, as the content length is in the
> header for
> the HTTP request which contains the file itself. It's a MIME thing; the
> browser says, "Here's the data string, and it's x characters long."
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> voice: (202) 797-5496
> fax: (202) 797-5444
Hmm. CF handles all http in blocks. It doesn't stream any of it. But you...
might, be able to write a cgi/dll that you can post an upload form to and
have the cgi abort the process immediately if the file is above a certain
length.
I don't recall offhand what the headers are like for a form post. (I should,
but my mind's fuzzy today.) Do you get a content length first? I think you
don't you? If you do that would provide a server-side way of refused file
uploads based on size. (The cgi would get the length and immediately send
relocation or something.)
But that's completely outside of CF as I know it.
--min
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.