|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-09-28 11:08 UTC] felipe@php.net
[2008-10-06 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 08:00:01 2025 UTC |
Description: ------------ using ftp_nb_fget() to download a file from ftp always gets only 2,920 bytes. Reproduce code: --------------- $rStream = fopen('test.zip','x'); ftp_nb_fget($rFtp,$rStream,$fullPath(),FTP_BINARY); sleep(58); Expected result: ---------------- Download complete file. Actual result: -------------- Downloads only 2,920 bytes, the file size doesn't influence this result unless less than 2,920 in witch case the function works as expected. Also tried with FTP_ASCII same result.