sftp2 manually ok but not in a script

From: dobbie1 <dobbie1_at_**********.***>
Date: Thu Feb 22 2007 - 08:34:05 EST

Hello,

In a script running for some months in a Sun 250R running Solaring 2.6,
I have the following commands:
#!/bin/csh -f
set COPYCMD="/usr/bin/sftp2 -B"
set COPYPATH=rissna@marvin
$COPYCMD sftp1 $COPYPATH >& aa

sftp1 contains:
cd in
put neatexp
exit

The script above fails now, and aa contains:
tcsetattr: Interrupted system call
FATAL: Received signal 1.

When I run sftp2 manually, it works OK.

Any hints ?

Regards,

Marek

--
List Info:      http://erdelynet.com/ssh-l/
List Archives:  http://erdelynet.com/archive/ssh-l/
To Unsubscribe: Mail mailto:ssh+unsubscribe@erdelynet.com
Received on Thu, 22 Feb 2007 14:34:05 +0100

This archive was generated by hypermail 2.1.8 : Thu Feb 22 2007 - 22:54:09 EST