Bug 11381

Summary: Inconsistent behaviour of wget with Microsoft ftp servers
Product: [Retired] Red Hat Linux Reporter: st
Component: wgetAssignee: Bill Nottingham <notting>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: rvokal, satan
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-06-06 17:44:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description st 2000-05-12 09:08:00 UTC
Trying to mirror localy ftp directories from ftp servers operating under
Microsoft FTP version 3.0, with the command:
wget -N ftp://ftpserver/path/*
most of times wget fails saying "No matches on pattern `*'.". But one time
of every ten or more attempts it works ok, and it can interpret correctly
the directory listing received.

I thing you could reproduce such behaviour with:
wget -N ftp://ftp.nai.com/pub/antivirus/datfiles/4.x/*

Comment 1 SB 2000-06-06 17:44:47 UTC
Wget is fine the inconsistency in Microsoft Internet Information Server's
FTP service which does not allow file globbing (using wildcards to select
multiple files)  Here is a quote from wget's manpage that explains the
behaviour:
       -g on/off --glob=on/off
              Turn FTP globbing on or off. By default, globbing will be 
              turned on if the URL contains a globbing characters  (an  
              asterisk, e.g.). Globbing means you may use the special 
              characters (wildcards) to retrieve more files from the same 
              directory  at  once,  like  wget  ftp://gnjilux.cc.fer.hr/*.msg.
              Globbing currently works only on UNIX FTP servers.

Hope that explains it,

-Stan Bubrouski