Originally posted by: ddjen11
i am trying to capture the output of the sftp command, specifically this progress display:
file_being_ftped 100% 987 1.2KB/s 00:03
This display is not saved by normal output redirect.
I've found this command thru searching that will save everything that goes on screen (including prompt) to a file:
script -q -c "sftp -b ... user@host" scr_out
Problem is aix 5.3 does not support '-c' option, and when i try input redirect, pipe, or HERE doc, it just says:
tcgetattr: A specified file does not support the ioctl system call.
Any suggestions?
Thanks.