Re: Loading Large Files through a Browser

2002-06-13 Thread Chris Norloff

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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Loading Large Files through a Browser

2002-06-13 Thread Lon Lentz

  How are you sure the upload has stalled/failed? Are you using a requesttimeout=?

 -Original Message-
 From: Jason Larson [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 13, 2002 12:34 PM
 To: CF-Talk
 Subject: Loading Large Files through a Browser
 
 
 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? 

__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Loading Large Files through a Browser

2002-06-13 Thread Philip Arnold - ASP

 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?

Remember that IE has a natural time-out on it

This can be extended in IE4, but I'm not sure if you can do it in IE5+

If you're getting timeouts, use Netscape, it doesn't have those problems

Philip Arnold
Technical Director
Certified ColdFusion Developer
ASP Multimedia Limited
Switchboard: +44 (0)20 8680 8099
Fax: +44 (0)20 8686 7911

www.aspmedia.co.uk
www.aspevents.net

An ISO9001 registered company.

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**


__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Loading Large Files through a Browser

2002-06-13 Thread Jason Larson

Is there any way to adjust IE's timeout, maybe a registry hack?

Thanks,
larzz
 

-Original Message-
From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, June 13, 2002 9:50 AM
To: CF-Talk
Subject: RE: Loading Large Files through a Browser

 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?

Remember that IE has a natural time-out on it

This can be extended in IE4, but I'm not sure if you can do it in IE5+

If you're getting timeouts, use Netscape, it doesn't have those problems

Philip Arnold
Technical Director
Certified ColdFusion Developer
ASP Multimedia Limited
Switchboard: +44 (0)20 8680 8099
Fax: +44 (0)20 8686 7911

www.aspmedia.co.uk
www.aspevents.net

An ISO9001 registered company.

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**



__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Loading Large Files through a Browser

2002-06-13 Thread Shawn Grover

Be patient.  Depending on your connection, and the server load, this can
take a while. (I know, that's kinda obvious).

When I was testing the limits of our upload application, I had to do a
number of progressivly larger files. When I hit 67 Meg, it would take near
45 minutes for the file to upload the file, or before I would see an NT 1405
error (or was that 1450?) indicating out of resources (out of memory).

My recommendation would be to start the upload and wait until the browser
either times out, or you get an error reported.

Then again, if you are dealing with a local network (for development I'd
presume), a 15 Meg file should only take a couple of minutes.

HTH

Shawn Grover

 -Original Message-
 From: Jason Larson [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 13, 2002 12:34 PM
 To: CF-Talk
 Subject: Loading Large Files through a Browser
 
 
 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? 


__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Loading Large Files through a Browser

2002-06-13 Thread nick

We have successfully loaded files in excess of 50 meg through a browser
using CFFILE (disclaimer...not by my choice!). We had to boost our
pagefile.sys size to make room for these rediculously large files.  If you
run out of memory, it will de-stabilize your server. And, if the client
terminates the upload before the upload is complete, often times the
temporary memory space is not released. After a while, the memory will fill
up. Our work-around is to reboot the server every couple of days (during the
night), to guarantee that everything is clean, clear, and fresh.

In the meantime, we are looking at solutions like PHP's FTP functions.

Good luck.
Nick Call

- Original Message -
From: Chris Norloff [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, June 13, 2002 10:46 AM
Subject: Re: Loading Large Files through a Browser


 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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Loading Large Files through a Browser

2002-06-13 Thread Won Lee

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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Loading Large Files through a Browser

2002-06-13 Thread Jason Larson

Here's the error my client is getting when trying to upload a 6 mb file.

Error Diagnostic Information
Error writing data from web server to the ColdFusion Application Server.


Windows NT error number 1450 occurred.


Thanks,
larzz
 
 

-Original Message-
From: Won Lee [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, June 13, 2002 10:24 AM
To: CF-Talk
Subject: Re: Loading Large Files through a Browser

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
 
 
 


__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Loading Large Files through a Browser

2002-06-13 Thread nick

AFAIK it's the virtual memory overload error.

Nick

- Original Message -
From: Jason Larson [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, June 13, 2002 11:37 AM
Subject: RE: Loading Large Files through a Browser


 Here's the error my client is getting when trying to upload a 6 mb file.

 Error Diagnostic Information
 Error writing data from web server to the ColdFusion Application Server.


 Windows NT error number 1450 occurred.


 Thanks,
 larzz



 -Original Message-
 From: Won Lee [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 13, 2002 10:24 AM
 To: CF-Talk
 Subject: Re: Loading Large Files through a Browser

 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
  
  
  
 

 
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists