WSL icon indicating copy to clipboard operation
WSL copied to clipboard

wget from ftp does not end properly

Open atari opened this issue 10 years ago • 4 comments

root@localhost:/mnt/c/tmp# wget ftp://ftp.openssl.org/source/openssl-1.0.2g.tar.gz --2016-04-07 19:31:12-- ftp://ftp.openssl.org/source/openssl-1.0.2g.tar.gz => ‘openssl-1.0.2g.tar.gz’ Resolving ftp.openssl.org (ftp.openssl.org)... 194.97.150.234, 2001:608:c00:180::1:ea Connecting to ftp.openssl.org (ftp.openssl.org)|194.97.150.234|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /source ... done. ==> SIZE openssl-1.0.2g.tar.gz ... 5266102 ==> PASV ... done. ==> RETR openssl-1.0.2g.tar.gz ... done. Length: 5266102 (5.0M) (unauthoritative)

100%[==============================================================================>] 5,266,102 --.-K/s eta 0s

wget does not end properly when using ftp [http(s) works fine] - Ctrl+c helps in this case

atari avatar Apr 07 '16 18:04 atari

Encountering this issue as well, if it's a single download I can Ctrl C to stop and rename the file, but if it's in a script it is blocked.

thai-ng avatar Apr 07 '16 23:04 thai-ng

This is an interesting one. I have used wget a number of times without incident, but I get a 100% repro with your steps.

Filed a bug. We'll take a look. Not certain what's happening yet.

russalex avatar Apr 08 '16 01:04 russalex

We have an understanding of the bug and the fix is in the process of being checked in. It should hit a release build soon. Thanks for reporting the bug and trying out WSL.

sunilmut avatar May 11 '16 01:05 sunilmut

Fixed in build 14361.

You will need to do wget ftp://ftp.openssl.org/source/openssl-1.0.2h.tar.gz to test since 1.0.2g is no longer available.

russalex avatar Jun 08 '16 20:06 russalex