This is the mail archive of the
mailing list for the Cygwin project.
Re: ftp: pipe doesn't work
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Chuck <chuckh at softhome dot net>
- Cc: cygwin at cygwin dot com
- Date: Wed, 18 Jun 2003 15:27:22 -0400 (EDT)
- Subject: Re: ftp: pipe doesn't work
- Reply-to: cygwin at cygwin dot com
On Wed, 18 Jun 2003, Chuck wrote:
> I've installed the inetutils package and am running the ftp command that
> was included in it. I tried to ftp the output of a piped command using the
> | as the first character of the file name and got the following error...
> ftp> put '|tar cvf install.sh install.zip' test.tar
> ftp: local: '|tar: No such file or directory
> Is the pipe mechanism not implemented in cygwin's ftp?
Judging by the output, it looks like the quoting is not recognized, rather
than the pipe command. Besides, isn't that pipe format supposed to be
used for *output* files, not input ones (as you attempted)? Also, your
tar command parameters are wrong (or, at least, won't do what you
|\ _,,,---,,_ email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ firstname.lastname@example.org
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html