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

Author Message
arnavsharma
[View user's profile]

Joined: 2016-03-15
Posts: 1
Location: USA
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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24552
Location: Prague, Czechia
Your duplicate post on Stack Overflow:
http://stackoverflow.com/q/36023914/850848
It's answered.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License