URL:
  <http://savannah.gnu.org/bugs/?53750>

                 Summary: Regex are ignored with ftp
                 Project: GNU Wget
            Submitted by: quantum7
            Submitted on: Wed 25 Apr 2018 11:58:19 AM UTC
                Category: Program Logic
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.19.4
        Operating System: Mac OS
         Reproducibility: Every Time
           Fixed Release: None
         Planned Release: None
              Regression: None
           Work Required: None
          Patch Included: None

    _______________________________________________________

Details:

The --reject-regex and --accept-regex options are ignored by wget during
recursive FTP downloads.

I would expect the following command to reject all files, but instead it
downloads the 9 small files from this public ftp server:

    wget -r -nd --reject-regex='.*'
'ftp://ftp.rcsb.org/pub/pdb/data/status/20070425/'

The problem has been reported a few times on stack overflow:
-
https://unix.stackexchange.com/questions/379922/wget-regex-fails-getting-files-over-ftp
-
https://unix.stackexchange.com/questions/439931/wget-regex-options-ignored-over-ftp

Tested with 1.18 on Gentoo and 1.19.4 from Homebrew on OS 10.12




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53750>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


Reply via email to