Hi guys,
With according to documentation [1] "transferring"
should be shown when one retrieves stats (via core/stats
endpoint). However, we carried out a few tests and none of them were positive.
In "transferring"
section should pop up information about transfer details for each transfer (e.g. each transferred file, right?).
Could you verify why it is not showing? Thanks in advance!
[1] https://rclone.org/rc/#core-stats-returns-stats-about-current-transfers
Test I - copyurl
curl -H "Content-Type: application/json" -X POST -d '{"url": "http://ipv4.download.thinkbroadband.com/100MB.zip", "fs": "","remote": "/dest/1.zip"}' http://localhost:5572/operations/copyurl
curl -H "Content-Type: application/json" -X POST -d '{"url": "http://ipv4.download.thinkbroadband.com/100MB.zip", "fs": "","remote": "/dest/2.zip"}' http://localhost:5572/operations/copyurl
curl -X POST http://localhost:5572/core/stats
{
"bytes": 209715200,
"checks": 0,
"deletes": 0,
"elapsedTime": 1908.547180883,
"errors": 0,
"fatalError": false,
"retryError": false,
"speed": 109882.11457417264,
"transfers": 2
}
Test II - copy from AWS to local S3
curl --request POST --url http://1.2.3.4:5572/sync/sync --header 'cache-control: no-cache' --header 'content-type: application/json' --header 'postman-token: <token>' --data '{ "srcFs": "AWS:test", "dstFs": "LOCAL:foobucket"}'
curl -X POST http://1.2.3.4:5572/core/stats
{
"bytes": 2965,
"checks": 1,
"deletes": 1,
"elapsedTime": 848.697932742,
"errors": 0,
"fatalError": false,
"retryError": false,
"speed": 3.493586923701563,
"transfers": 2
}
Kind regards,
Cezary Zukowski