I have just started using Co:Z sFTP.
I used the sample batch-job under z/OS to do a put.
It runs fine, but I am missing some statistics, s.a. bytes sent /second.
I do get the statistics, when I manually run cozsftp. (99% 17MB 3.7MB/s 00:00 ETA).
1. I wonder where these statistics go to when I run cozsftp in batch.
I would like to see this info as sysout of my batchjob.
2. when I excute cozsftp manually from the shell, when the transmission
finished it gives me the following info 101% 17MB 3.7MB/s 00:00
ETA. I file is transmitted and translated to ASCII properly. Why 101?
and not 100 ?
statistical info on batch-job
Let me try to address both of your questions:
1) cozsftp is a port of OpenSSH sftp, and the sftp command as written does not display "progress" statistics unless there is an interactive terminal connected to the process. This is why you do not see statistics in batch mode. We will consider changing this in a future release.
2) When transferring datasets, co:Z sftp can only estimate the actual transfer size, since the actual transfer size canl depend on the data itself and the transfer options. This is why you are seeing 101%. Note also that we will be releasing version 1.3.1 this week, which will improve the estimates in some cases.
1) cozsftp is a port of OpenSSH sftp, and the sftp command as written does not display "progress" statistics unless there is an interactive terminal connected to the process. This is why you do not see statistics in batch mode. We will consider changing this in a future release.
2) When transferring datasets, co:Z sftp can only estimate the actual transfer size, since the actual transfer size canl depend on the data itself and the transfer options. This is why you are seeing 101%. Note also that we will be releasing version 1.3.1 this week, which will improve the estimates in some cases.