Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

arnavsharma

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