Closed Gosokan closed 2 years ago
Hi, this code worked fine to you?
Yes this code is work fine in terminal:
user@host:~$ php phpfilename.php
result:
stdClass Object
(
[raw] =>
[dataSent] => 0
[dataTotal] => 0
[sent] => 0
[speed] => 0
[eta] => 0
)
stdClass Object
(
[raw] => 3.090M / 71.783 MBytes, 4%, 2.349 MBytes/s, ETA 29s
[dataSent] => 3.090M
[dataTotal] => 71.783 MB
[sent] => 4
[speed] => 2.349 MB
[eta] => 29s
)
...
...
stdClass Object
(
[raw] => 71.783M / 71.783 MBytes, 100%, 15.115 MBytes/s, ETA 0s
[dataSent] => 71.783M
[dataTotal] => 71.783 MB
[sent] => 100
[speed] => 15.115 MB
[eta] => 0s
)
But still haven't found a way to make the process displayed in the browser using php and ajax.
why not?
As there were no responses, I am closing for now.
Please give example usage to copy from local disk to google drive.
-- update ---
this is the same as the usage example for copy local to dropbox