cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Curl sftp question...

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 28 Jun 2007 07:52:56 -0700

On Thu, Jun 28, 2007 at 09:04:26AM -0500, Joe Ebmeier wrote:
> FANTASTIC! So I have just one more question - I still can't use a '*' with
> curl's sftp, however I can use a '*' with just sftp:
>
> [root_at_vmspot1 joe]# curl -l -u interact:super
> sftp://javadev2/interact/lib/lib*
> curl: (78) Could not open remote file for reading: No such file or directory
> [root_at_vmspot1 joe]#

You need to put the * in quotes to avoid the shell interpreting it for you
instead of curl. What happens if you do this instead:

        curl -l -u interact:super "sftp://javadev2/interact/lib/lib*"

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-06-28