delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/23/01:05:33

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
Message-ID: <4010B98A.4C57EE48@dessent.net>
Date: Thu, 22 Jan 2004 22:04:58 -0800
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: wget FTP wildcards
References: <171554968 DOT 20040122121610 AT alsoft DOT cz>
X-Spam-Report: 2.6/5.0 ---- Start SpamAssassin results * 2.5 RCVD_IN_DYNABLOCK RBL: Sent directly from dynamic IP address * [67.160.219.187 listed in dnsbl.sorbs.net] * 0.1 RCVD_IN_SORBS RBL: SORBS: sender is listed in SORBS * [67.160.219.187 listed in dnsbl.sorbs.net] ---- End SpamAssassin results
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i0N65S7k026370

Václav Krpec wrote:
> 
> But, as you can see, I'm trying to do __FTP__ connection,
> and these allows wildcards usage (according to wget
> man pages). Maybe "-g on" option will help... I'm gonna try... No.
> I know it works on Linux, why not on cygWin? Do I need special settings?
> Or wget thinks I'm trying to make http connection? Why? I specified
> FTP protocol. How to force the protocol?

Seems to work fine for me:

$ wget ftp://ftp.fit.vutbr.cz/pub/XFree86/4.3.0/source/\*
--22:02:15--  ftp://ftp.fit.vutbr.cz/pub/XFree86/4.3.0/source/*
           => `.listing'
Resolving ftp.fit.vutbr.cz... 147.229.9.30
Connecting to ftp.fit.vutbr.cz[147.229.9.30]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/XFree86/4.3.0/source ... done.
==> PORT ... done.    ==> LIST ... done.

    [ 
<=>                                                                                 
] 1,582          3.36K/s             

22:02:23 (3.36 KB/s) - `.listing' saved [1582]

Removed `.listing'.
--22:02:23--  ftp://ftp.fit.vutbr.cz/pub/XFree86/4.3.0/source/FILES
           => `FILES'
==> CWD not required.
==> PORT ... done.    ==> RETR FILES ... done.
Length: 1,392,966

(and so on)

I think this may have something to do with the fact that you're using a
proxy.  I'm not sure how wget uses 'ftp_proxy', presumably with a HTTP
CONNECT method, right?  There's no such thing as a true native ftp
proxy.  So maybe it's getting confused?  But if it works for you under
linux (assuming the same upstream version of both) then I don't know. 
What I do know is this couldn't possibly have anything to do with Cygwin
directly, except for perhaps the Cygwin upstream version of wget is not
as fresh as the one you're using on linux.

Brian

--
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