Hello everyone, during tests I’m uploading and downloading a lot of files, and I was curious if there is a way to show console progress bar for file transfer when sshlibrary.Put File and Get File are used. Thanks.
1 Like
Hi @utt6161,
as there’s nothing about this in the documentation I doubt it, unless you fork sshlibrary and modify it to to this.
Usually robot framework keywords don’t output anything to the console, so I would have been surprised if it did.
You could wrap the Put File and Get File keywords with your own custom keywords that use Log with console=true
, log starting to download (or upload) file before and done after, maybe even use Get Time to include the time in those messages, it’s not a progress bar but it might be better than nothing.
hope that helps,
Dave.
1 Like
Note that if the custom keyword is based on SSHlibrary keyword Execute Command then it is possible to use output_during_execution=True
argument to get some output during the execution.
2 Likes