Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 1998 18:03:39 -0600 (CST)
From:      Shawn Leas <sleas@mn26hp6.honeywell.com>
To:        questions@FreeBSD.ORG
Subject:   Re: auto ftp upload
Message-ID:  <Pine.HPP.3.96.980222180055.27688A-100000@mn26hp6.honeywell.com>
In-Reply-To: <19980222152859.A729@top.worldcontrol.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Why don't you do an ftp script, it's simpler.

#!/bin/ksh -p

ftp -in << EOF

open <host>
user <user> <password>
bin
lcd <localdir>
cd <remote dir>
mput <file> <file>
bye
EOF

On 19-Feb-98 George Vagner wrote about "auto ftp upload":
> i want to automatically upload a file using ftp to a web site
> without user intervention but i dont know the syntax to pass the file to the
> ftp program.


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?Pine.HPP.3.96.980222180055.27688A-100000>