Hi,
On Sun, Aug 11, 2002 at 05:26:44PM +0200, Kai Anding wrote:
> Hello there,
>
> I am trying to use wget with Suse 7.3 and i cannot get it to run correctly.
> An example would be
>
> wget ftp://ftp.suse.com/pub/suse/i386/8.0/SuSEgo.ico
>
> which produces the output
> .....
> and then the program hangs, and the file cannot be found
It doesn't hang, it is just waiting for data. Since no data is sent,
no file is created. So, this is not a bug in wget.
> strace indicates that the program hangs during a system call (select):
>
> ----snip--------
> read(3, "150 Opening BINARY mode data con"..., 4096) = 70
> write(2, "fertig.\n", 8fertig.
> ) = 8
> select(5, [4], NULL, [4], {900, 0} <unfinished ...>
900 seconds (15 minutes) is the default read timeout. You can change
it with the option -T (or --timeout)
$ wget -T 15 ftp://example.com/path
It is not a bug to wait for data in select().
Regards
Erlend Aasland