> -----Original Message----- > From: cygwin-owner On Behalf Of Brian Dessent > 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' [...snip...] > (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.
It's got to be down to the proxy: check this quote from the original post: > > Connecting to 192.168.35.1:3128... connected. > > Proxy request sent, awaiting response... 404 Not Found > > 11:16:54 ERROR 404: Not Found. 404 is an HTTP error code, not an FTP one. What's more, when you use HTTP connect, you'd expect a different error code (I forget exactly what) if the connection can't be made, but you wouldn't expect the proxy to send any request forward after making the connection. In short, you don't ever see a 404 in response to an HTTP CONNECT, although you might see one if you HTTP CONNECTed to another web server and sent a GET request yourself. So my guess is that it isn't using HTTP CONNECT at all, but actually forwarding a GET request with an ftp:// URL to the proxy and leaving it entirely for the proxy to deal with. I think it must be the proxy that's having problems with the asterisk character and therefore returning a 404. BTW, there *is* such a thing as a true native ftp proxy. There are any number of firewalls/NAT devices that proxy/gateway FTP connections. I could also point to the analog-x proxy software, which does FTP proxying natively. cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/