Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Feb 1998 12:46:21 -0600 (CST)
From:      laszlo vagner <vagner@mutsgo.dyn.ml.org>
To:        questions@FreeBSD.ORG
Subject:   put files 
Message-ID:  <199802181846.MAA25915@mutsgo.dyn.ml.org>

next in thread | raw e-mail | index | archive | help
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



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