delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/19/08:02:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: localhost.localdomain: ronald owned process doing -bs
Date: Thu, 19 Jun 2003 14:08:06 +0200 (CEST)
From: Ronald Landheer-Cieslak <ronald AT landheer DOT com>
X-X-Sender: ronald AT localhost DOT localdomain
To: Chuck <chuckh AT softhome DOT net>
cc: cygwin AT cygwin DOT com
Subject: Re: ftp: pipe doesn't work
In-Reply-To: <Xns939E9B973F67Dchuckhsofthomenet@80.91.224.249>
Message-ID: <Pine.LNX.4.44.0306191406110.5656-100000@localhost.localdomain>
MIME-Version: 1.0

Try double quotes in stead of single ones:
ftp> put "|tar cvz dir" dir.tgz
... list
ftp> get dir.tgz "|tar tz"
... same list

WFM :)

HTH

rlc

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?
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019