Re: Unpleasant particularity Wget

2021-03-09 Thread Petr Pisar
V Wed, Mar 10, 2021 at 02:34:05AM +0200, kmb...@yandex.ru napsal(a):
> Здравствуйте, Bug-wget.
> 
> Unpleasant particularity Wget
> In version 1.11.4 when I downloade file from http://sourceforge.net/ I get it.
> For example
> https://sourceforge.net/projects/sevenzip/files/7-Zip/17.01/7z1701.exe/download
> I get file with name 7z1701.exe
> 
> In new version in this case I get file with name "download".
> It is how 7z1701.exe but has name "download".
> Maybe you will correct it.
> OS: WinXP SP3 NTFS
> 
You've already sent this question under 475094225.20210307021...@yandex.ru
message ID and got an ansewer
<https://lists.gnu.org/archive/html/bug-wget/2021-03/msg00014.html>.

-- Petr


signature.asc
Description: PGP signature


Unpleasant particularity Wget

2021-03-09 Thread kmb...@yandex.ru
Здравствуйте, Bug-wget.

Unpleasant particularity Wget
In version 1.11.4 when I downloade file from http://sourceforge.net/ I get it.
For example
https://sourceforge.net/projects/sevenzip/files/7-Zip/17.01/7z1701.exe/download
I get file with name 7z1701.exe

In new version in this case I get file with name "download".
It is how 7z1701.exe but has name "download".
Maybe you will correct it.
OS: WinXP SP3 NTFS

-- 
С уважением,
 Kmb697  mailto:kmb...@yandex.ru




Re: Unpleasant particularity Wget

2021-03-07 Thread Petr Pisar
V Sun, Mar 07, 2021 at 02:15:40AM +0200, kmb...@yandex.ru napsal(a):
> Unpleasant particularity Wget
> In version 1.11.4 when I downloaded file from http://sourceforge.net/ got it.
> For example
> https://sourceforge.net/projects/sevenzip/files/7-Zip/17.01/7z1701.exe/download
> I got file with name 7z1701.exe
> wget.exe -x -c --no-check-certificate 
> https://sourceforge.net/projects/sevenzip/files/7-Zip/17.01/7z1701.exe/download
> 
> In new version in this case I got file with name "download".
> It is how 7z1701.exe but has name "download".

You need to pass --content-disposition option to wget to respect the name sent
by the server in a Content-Disposition HTTP header. Otherwise the new wget uses
the last component of the URL as a local file name.

-- Petr



signature.asc
Description: PGP signature


Unpleasant particularity Wget

2021-03-06 Thread kmb...@yandex.ru
Здравствуйте, Bug-wget.

Unpleasant particularity Wget
In version 1.11.4 when I downloaded file from http://sourceforge.net/ got it.
For example
https://sourceforge.net/projects/sevenzip/files/7-Zip/17.01/7z1701.exe/download
I got file with name 7z1701.exe
wget.exe -x -c --no-check-certificate 
https://sourceforge.net/projects/sevenzip/files/7-Zip/17.01/7z1701.exe/download

In new version in this case I got file with name "download".
It is how 7z1701.exe but has name "download".
Maybe you will correct it.
OS: WinXP SP3 NTFS


-- 
С уважением,
 Kmb697  mailto:kmb...@yandex.ru