From owner-freebsd-questions Sun Feb 22 16:04:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA07911 for freebsd-questions-outgoing; Sun, 22 Feb 1998 16:04:22 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mn26hp6.honeywell.com (mn26hp6.honeywell.com [129.30.4.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA07885 for ; Sun, 22 Feb 1998 16:04:17 -0800 (PST) (envelope-from sleas@mn26hp6.honeywell.com) Received: from localhost by mn26hp6.honeywell.com with SMTP (1.40.112.4/16.2) id AA293342219; Sun, 22 Feb 1998 18:03:39 -0600 Date: Sun, 22 Feb 1998 18:03:39 -0600 (CST) From: Shawn Leas To: questions@FreeBSD.ORG Subject: Re: auto ftp upload In-Reply-To: <19980222152859.A729@top.worldcontrol.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Why don't you do an ftp script, it's simpler. #!/bin/ksh -p ftp -in << EOF open user bin lcd cd mput 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