Gary R. Van Sickle wrote:
From: Robinson, Paul T (NonStop)

I have a pile of bash scripts with variations on this theme:

ftp -n ${HOST} <<FTP_EOF
user ${USER}
${PASSWORD}
cd ${MYDIR}
get ${MYFILE}
bye
FTP_EOF
Helpful hint: to reduce your overall hassle level, use ncftp of wget for doing this sort of thing, and don't look back. That will allow you to put all of those params on the command line. Both programs work great on Cygwin.
Or how 'bout.... <drum roll>

scp!
--
Andrew DeFaria <http://defaria.com>
If there is a god, he will understand why I don't believe in him.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to