From owner-freebsd-questions Wed Feb 18 10:47:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA06354 for freebsd-questions-outgoing; Wed, 18 Feb 1998 10:47:42 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mutsgo.dyn.ml.org (vagner@dal29-28.ppp.iadfw.net [204.178.75.158]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA06213 for ; Wed, 18 Feb 1998 10:46:49 -0800 (PST) (envelope-from vagner@mutsgo.dyn.ml.org) Received: (from vagner@localhost) by mutsgo.dyn.ml.org (8.8.8/8.8.7) id MAA25915 for questions@freebsd.org; Wed, 18 Feb 1998 12:46:26 -0600 (CST) (envelope-from vagner) From: laszlo vagner Message-Id: <199802181846.MAA25915@mutsgo.dyn.ml.org> Subject: put files To: questions@FreeBSD.ORG Date: Wed, 18 Feb 1998 12:46:21 -0600 (CST) X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG how do i make a command take input from a file? i am trying to ftp a file to a remote site but dont know how to pass ftp the command after it logs in. here is what i tried ftp ftp://user:pass@host/filename ftp ftp://user:pass@host < filename ftp ftp://user:pass@host | filename ftp ftp://user:pass@host < put filename it logs in and i get the ftp> prompt but the command dont echo to the program.. i thought i better ask before i mess something up. vagner@mutsgo.dyn.ml.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message