On Wed, Jul 07, 1999 at 11:34:45PM -0600, David Karlin wrote: > I'm running slink and would like to automate an ftp session > to upload a file to a remote server. > > I've been reading a Unix book which says that the "<<" > redirector is usful for this, but no details or example are > given. Something like this? #!/bin/sh ftp -i -n hostname <<EOI user myid mypasswd bi put /tmp/myfile.tgz myfile.tgz chmod 600 myfile.tgz quit EOI