CFFILE puts the whole file into memory before saving to disk.  But what 
happens after the file is written to disk?  Is the memory cleared?
My cfm page, consisting of just

<cffile action="UPLOAD" filefield="form.flat" 
destination="#request.flatPath#" nameconflict="ERROR">

and some comments hangs after the third upload.  I upload small jpegs about 
67KBs.  I upload one, hit back, and upload another one.  By the fourth 
upload the cfserver hangs and I need to restart it.  I'm trying to locate 
the problem.  My initial guess is that the server is at fault here.

cf 5.0 pro on red hat
Won Lee

At 12:46 PM 6/13/2002 -0400, you wrote:
>We've used CFFILE for saving files and for appending information to files 
>on disk.  Our big problem was that CFFILE loads the entire file into 
>memory before saving it to disk.  So it's possible your problem is in 
>CFFILE trying to put it all in memory before saving to disk.
>
>Chris Norloff
>
>---------- Original Message ----------------------------------
>from: "Jason Larson" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>date: Thu, 13 Jun 2002 10:34:04 -0600
>
> >I was wondering if anybody out there has had any timeout issues when
> >loading large files through the web browser with cffile. I have been
> >trying to upload a 6 to 15 meg file through a file input field and the
> >browser seems to time out, I don't get a cold fusion error just the
> >browser seems to hang. If anybody has run into this problem, what kind
> >of solutions did you come up for it?
> >
> >
> >Thanks,
> >larzz
> >
> >
> >
>
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to