Getting the total volume of data transferred in a session

Advertisement

torix
Joined:
Posts:
16
Location:
Norway

Getting the total volume of data transferred in a session

Have searched around for a way to get total amount of data (bytes) transferred through a session but so far no luck.
Anyone have the magical answer?
(using Powershell)

Regards

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,658
Location:
Prague, Czechia

Re: Getting the total volume of data transferred in a session

There's no magical answer.

Reply with quote

torix
Joined:
Posts:
16
Location:
Norway

Re: Getting the total volume of data transferred in a session

martin wrote:

There's no magical answer.

I ended up solving this by looping through all files in the collection of successfully transferred files in the transfer result.

..
..
$script:amountOfData += (Get-Item $e.FileName).length
..
..

Last edited by torix on 2015-12-20 12:22; edited 1 time in total

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,658
Location:
Prague, Czechia

Re: Getting the total volume of data transferred in a session

Thanks for sharing your solution.

Reply with quote

Advertisement

You can post new topics in this forum