This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ftp: pipe doesn't work

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' 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
obviously intended).
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,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:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]