Sounds like there's no swap space left to me...

-jp

> -----Original Message-----
> From: Dustin Butler [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 26, 2001 11:11 PM
> To: 'Jeroen Jochems'; php-general (E-mail)
> Subject: RE: [PHP] Strange problem
>
>
> There are FTP functions if it's an FTP download.  You could
> also use socket
> functions to create the request if it's HTTP.  Check your
> system for the
> utility called wget, you could exec() wget to retrieve the file also.
>
> Dustin
>
> > -----Original Message-----
> > From: Jeroen Jochems [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, January 25, 2001 7:23 AM
> > To: Hardy Merrill
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [PHP] Strange problem
> >
> >
> > Or does anyone know a better way to download files?
> >
> >
> > ----- Original Message -----
> > From: Hardy Merrill <[EMAIL PROTECTED]>
> > To: Jeroen Jochems <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > Sent: Thursday, January 25, 2001 2:50 PM
> > Subject: Re: [PHP] Strange problem
> >
> >
> > > The first thing I'd check is the space on the client machine
> > > trying to do the download - that machine may be running out
> > > of space.  I can't remember exactly how the browser handles
> > > this, but the client machine may need 2 times the size of the
> > > file to be downloaded - it might first create a temporary file,
> > > and then when the download is done, copy the temporary file to the
> > > real file.
> > >
> > > HTH.
> > >
> > > --
> > > Hardy Merrill
> > > Mission Critical Linux, Inc.
> > > http://www.missioncriticallinux.com
> > >
> > > Jeroen Jochems [[EMAIL PROTECTED]] wrote:
> > > > When I try to download a big file (like 5meg) with
> > fopen() I get some
> > strange errors:
> > > >
> > > > - not enough space for lowio initialization
> > > > - not enough space for stdio initialization
> > > > - pure virtual function call
> > > > - not enough space for _onexit/atexit table
> > > > - unable to open console device
> > > > - unexpected heap error
> > > > - unexpected multithread lock error
> > > > - not enough space for thread data abnormal program termination
> > > > - not enough space for environment
> > > > - not enough space for arguments
> > > >
> > > > I use the following code
> > > >
> > > > while (!feof($file)) {
> > > > $line = fgets($file, 10000);
> > > > fputs($localfile,"$line");
> > > > }
> > > >
> > > > This always happens when he downloaded 981kb. Anyone know
> > how to solve
> > this?
> > > >
> > > > 10xzs
> > > > - floating point not loaded
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to