Is there a way to calculate the time taken & the speed for downloading/uploading a file via sftp
in php as similar to the below?
$sftp->get('filename', 'local/filename'); //gets the file
$sftp->size('filename'); //gives the size of the file.
These two commands fetches the file & gives the size..in that way can we calculate the speed & time taken?