How to monitor or print changes for different percentage of SFTP?

Advertisement

arnavsharma
Joined:
Posts:
1
Location:
USA

How to monitor or print changes for different percentage of SFTP?

Hi, I am running automating the process of sftp, so I am running the commands

open sftp://username:passwordd@192.xxx.xxx.x/
#Change LOCAL directory lcd "C:\Users\Desktop\"
#copy an individual file
put -nopermissions -preservetime "C:\Users\Desktop\xyz.webm" xyz.webm

and getting an output
C:\Users\Desktop\xyz.webm | 60734 KB | 3160.3 KB/s | binary | 100%

So while transferring this I want the output the same output for different percentages. Like would want to know the size, throughput for 20%,40%,60% and so on...
Here we are getting a consolidated output but would want output in steps.

Is there a way to do it or a command to get output in steps?

Thanks

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum