$sftp "-b" /rucs1/ucs/data/cbme01f_get1.txt user...@sftp.domain.com
I get an error:
FATAL: OpenVMS$tty_gettty() failed
%TCPIP-F-SSH_FATAL, non-specific fatal error condition
This same command "$ sftp..." works fine when run from a terminal. Any ideas?
In instances where a utility must be associated with a terminal, and I
need it to run in batch, I use a homegrown PTD$ application that I'm
not currently in a position to share. However, there is an example
(that I've never used) of such an app, written in C, that you can fetch
from
http://mvb.saic.com/freeware/vmslt03a/vu/ptd.zip
and probably adapt to your needs.