sftp2 manually ok but not in a script
dobbie1 <[email protected]> Thu, 22 Feb 2007 14:34:05 +0100
| Newsgroups | gmane.network.ssh.windows |
|---|---|
| Message-ID | <[email protected]> |
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:[email protected]