bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] [bug #53750] Regex are ignored with ftp


From: Spencer
Subject: [Bug-wget] [bug #53750] Regex are ignored with ftp
Date: Wed, 25 Apr 2018 07:58:20 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36

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

[Prev in Thread] Current Thread [Next in Thread]