Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Mar 1999 20:10:34 +0000
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        Chris Silva <ras@interaccess.com>
Cc:        Freebsd-Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: ftp scripting
Message-ID:  <19990327201034.A12663@scientia.demon.co.uk>
In-Reply-To: <001001be787e$6c567390$0a00000a@wildrock>
References:  <001001be787e$6c567390$0a00000a@wildrock>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris Silva wrote:

> This may or may not be the place but, I want to device a script
> that will do an FTP, login, enter password, bin, put, then logout.

Simply feed commands to ftp on stdin.

ftp -in <<END
open some.host.com
user username password
cd /some/where
bin
put some.file
bye
END

-- 
Ben Smithurst
ben@scientia.demon.co.uk

send a blank message to ben+pgp@scientia.demon.co.uk for PGP key


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990327201034.A12663>