Re: scripting sftp in a bash script

2003-12-02 Thread James Hu
On 2003-12-02, James Hu <[EMAIL PROTECTED]> wrote: > On 2003-12-02, David Strozzi <[EMAIL PROTECTED]> wrote: >> I'm trying to use sftp within a bash script on cygwin (version 1.5.5 >> on winXP pro). Ideally I'd like to use a 'here document' rather than >> using an external batchfile... >> >> ... a

Re: scripting sftp in a bash script

2003-12-02 Thread James Hu
On 2003-12-02, David Strozzi <[EMAIL PROTECTED]> wrote: > I'm trying to use sftp within a bash script on cygwin (version 1.5.5 on > winXP pro). Ideally I'd like to use a 'here document' rather than using > an external batchfile... > ... are there other ways to script/call sftp (or a _secure_ equi

scripting sftp in a bash script

2003-12-01 Thread David Strozzi
Hi, (I have a feeling this has been asked before, but I can't find it.) I'm trying to use sftp within a bash script on cygwin (version 1.5.5 on winXP pro). Ideally I'd like to use a 'here document' rather than using an external batchfile, that is, sftp /dev/stdin < EOF The problem is the /dev/