note 71434 added to function.ftp-nb-put
| From: | kaiohken1982 at hotmail dot com | Date: | Wed, 29 Nov 2006 00:53:36 +0000 |
| Subject: | note 71434 added to function.ftp-nb-put | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-120145@lists.php.net to get a copy of this message | ||
Hi,
I tried to use both ftp_put() and ftp_nb_put() adding the
variable $start = date("Y:m:d h:i:s"); at the begin of the script and the variable $end =
date("Y:m:d h:i:s"); at its end, after the file upload function.
With the gprs connection I'm now using and trying to upload a .jpg file of 67,5 kb the time
difference between $start and $end was 40 seconds in both cases, so I can suppose that there is no
difference between these upload function.
The difference comes if you put anything inside the while ($ftp_upload == FTP_MOREDATA) loop.
I hope this note can help.
Regards
----
Server IP: 213.92.11.19
Probable Submitter: 151.81.4.84
----
Manual Page -- http://www.php.net/manual/en/function.ftp-nb-put.php
Edit -- https://master.php.net/note/edit/71434
Del: integrated -- https://master.php.net/note/delete/71434/integrated
Del: useless -- https://master.php.net/note/delete/71434/useless
Del: bad code -- https://master.php.net/note/delete/71434/bad+code
Del: spam -- https://master.php.net/note/delete/71434/spam
Del: non-english -- https://master.php.net/note/delete/71434/non-english
Del: in docs -- https://master.php.net/note/delete/71434/in+docs
Del: other reasons-- https://master.php.net/note/delete/71434
Reject -- https://master.php.net/note/reject/71434
Search -- https://master.php.net/manage/user-notes.php