I can run scp -p one.txt user@server:/one.txt and the output will show one.txt along with 100%. If I add this same command in a script, I cannot get it to show the 100%. I have tried 1>/tmp/one.out 2>/tmp/two.out but neither one contains this line. I have also tried running it with -v (or -v -v or -v -v -v). That gives more information, but not the line I want. I have also not been able to find a listing of error codes for scp (I know anything other than zero is an error). Anyone have any ideas how to get it to capture the 100% line?