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 -- h
ttps://master.php.net/note/delete/71434/integrated
Del: useless -- http
s://master.php.net/note/delete/71434/useless
Del: bad code -- htt
ps://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 -- http
s://master.php.net/note/delete/71434/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/71434
Reject -- https://mast
er.php.net/note/reject/71434
Search -- https://
master.php.net/manage/user-notes.php
--
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|