Relative Content

Tag Archive for shellsftp

Issue with capturing full sftp log

I need to capture the full sftp log in a text file. I used the command
bash “$sftp_script” >> “$log_file” 2>&1;. But the line with the percentage completed is not written into the text file. How can I achieve this? My actual log look like below.