bugGNU Wget - Bugs: bug #64808, When I use wget to download some...


bug #64808: When I use wget to download some files from a web server, files with russian names do not get proper names

Submitter:  None
Submitted:  Mon 23 Oct 2023 01:55:54 PM UTC
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Val Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  trunk
Operating System:  Microsoft Windows Reproducibility:  Every Time
Fixed Release:  None Planned Release:  None
Regression:  None Work Required:  None
Patch Included:  None
* Mandatory Fields

Add a New Comment Rich Markup

Jump to the original submission

Mon 18 Dec 2023 12:19:11 PM UTC, comment #7: 

Of course you can't. The problem is that app.kali.by is our intranet web server, it can't be seen outside the entreprise LAN.
Maybe I should try to put some files with russian names on github.
I guess the result will be the same.

Sun 17 Dec 2023 12:42:03 PM UTC, comment #6: 

Ideally, you give us a command line example so we can reproduce.
I can not resolve app.kali.by.

Tim Ruehsen <rockdaboot>
Group administrator
Thu 14 Dec 2023 06:22:25 AM UTC, comment #5: 

On Ubuntu it works fine, you can see this in an attachement. There's no problem with the encoding of the file names.

Fri 17 Nov 2023 07:12:28 PM UTC, comment #4: 

Windows character encodings may be special.
Is this issue reproducible on e.g. GNU/Linux?
I am willing to test it on GNU/Linux, but I need a full command line example from you.

Out of curiosity, can you test wget2.exe from https://gitlab.com/gnuwget/wget2/-/releases (there is also a .sig file / PGP signature in case you want to verify the origin).

Tim Ruehsen <rockdaboot>
Group administrator
Mon 13 Nov 2023 07:28:43 AM UTC, comment #3: 

The parameters `--local-encoding` and `--remote-encoding` are useful for resource names that you put in a command line.

Mon 13 Nov 2023 07:25:40 AM UTC, comment #2: 

I tried this, it didn't work out.

Sun 29 Oct 2023 04:20:44 PM UTC, comment #1: 

Did you test `--restrict-file-names` with different options ?

If that doesn't help, there is also `--local-encoding` and `--remote-encoding` to experiment with.

Tim Ruehsen <rockdaboot>
Group administrator
Mon 23 Oct 2023 01:55:54 PM UTC, original submission:  

While downloading files with cyrillic names in a recursive mode via wget from a https server, they do not get correct names in a local Windows filesystem. Examples are given in an attachement.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #55451:  screen1.png added by None (79KiB - image/png)
file #55266:  web_files.png added by None (24KiB - image/png)
file #55267:  local_files.png added by None (5KiB - image/png)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rockdaboot (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-12-14 None Attached File- Added screen1.png, #55451
    2023-10-23 None Attached File- Added web_files.png, #55266
        Attached File- Added local_files.png, #55267

    Back to the top

    Powered by Savane 3.13-12ab.
    Corresponding source code