Michael, thanks for the ref to ncftpput. I'l\l look into that and lftp, as someone else suggested. But re: the here script: does this work if I write it ina simple shell script? That is do I write a script thus: cd ~!/website ftp -i origin.chass.utoronto.ca<<EOF mget * */* */*/* EOF
I seem to be getting an error (command not found) when I do this -- is there a little trick? thx, mat On Mon, Oct 07, 2002 at 04:58:47PM -0500, Michael Heironimus wrote: > On Mon, Oct 07, 2002 at 05:44:53PM -0400, Matt Price wrote: > > command line, far as I can tell. so: is there a way to pass these > > instructions on to ftp from a shell script? I imagine this must be a > > The first thing I'd suggest is using one of the script-oriented FTP > tools that was designed to work this way, like "ncftpput". But to answer > your general question, there's a shell construct called a "here script". > It works like this: > > command_needing_input <<EOF > input 1 > input 2 > .. > EOF > > You can actually do this at the command line if you want to try it out. > > -- > Michael Heironimus > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]