|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-02-08 14:05 UTC] tony2001@php.net
[2006-02-16 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 04:00:01 2025 UTC |
Description: ------------ Hello the following error occurs with the download of small files with ftp_get(). First 30 seconds the download is fine, then the following downloads fail with the message: Warning: ftp_get(): File send OK. in F:\Testdaten\include\ftp.class.php on line 105 The size of the files is 28 bytes. Depending upon my InterNet connection 50 or 60 files can be downloaded before the error occurs. I?m using FTB_BINARY, but also tried FTP_ASCII mode, the error is the same. I tried the latest CVS of PHP 5.1, the error still exists with sleep(1) before downloading more files can be copied (about 300) to my local harddrive before the error messages comes. Reproduce code: --------------- . . . if(ftp_get ( $this->ftpConn_id, $DateiLokal, $DataDatei, $mode )) { $this->Statusliste[$i]['file']=$DataDatei; $this->Statusliste[$i]['status']=2; } else { $this->Statusliste[$i]['file']=$DataDatei; $this->Statusliste[$i]['status']=6; $this->TransferOk= false; } . . . $DateiLokal is the local Filename, $DataDatei is the name of the file which is to be copied. Expected result: ---------------- Download of all files to my local Harddrive Actual result: -------------- download of a few files to my local harddrive