wget-1.10.2-5mdv2007.1 pwd/cd bug

2007-03-24 Thread Jason Mancini
Hello, If wget cannot connect to the FTP server the first time, it fails to CD properly after checking the path with PWD. Here is a -d listing when connecting after failing. Thanks! Jason $cmd = wget -d --limit-rate=999k --tries=0 --no-remove-listing -N $ftp/*.rpm; --11:06:12--

wget-1.10.2 pwd/cd bug

2007-03-24 Thread Jason Mancini
I downloaded 1.10.2 source code. u-cmd goes from 0x1B to 0x19, dropping DO_CMD on the second call to ftp.c:getftp() after connection failure. I'm trying to debug THE loop. Jason _ Watch free concerts with Pink, Rod Stewart, Oasis

wget-1.10.2 pwd/cd bug

2007-03-24 Thread Jason Mancini
This is inverted in ftp.c: if (con-csock != -1) con-st = ~DONE_CWD; else con-st |= DONE_CWD; If not error, request cwd? If error, cwd done? It's backwards. Changing != to == solves the bug. Thanks! Jason

wget-1.10.2 pwd/cd bug

2007-03-24 Thread Steven M. Schweda
It's starting to look like a consensus. A Google search for: wget DONE_CWD finds: http://www.mail-archive.com/wget@sunsite.dk/msg08741.html Steven M. Schweda [EMAIL PROTECTED] 382 South