Hrvoje Niksic [EMAIL PROTECTED] writes:
[EMAIL PROTECTED] (Steven M. Schweda) writes:
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
That bug is fixed in subversion, revision 2194.
I
[EMAIL PROTECTED] (Steven M. Schweda) writes:
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
That bug is fixed in subversion, revision 2194.
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--
ftp
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
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
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
Title: Untitled Document
°í°´ ¿©·¯ºÐ ¾È³çÇϼ¼¿ä.
µðÁöÅÐÅõÀ¯(Digital
to you)¿¡¼ È«º¸¿ë CD-RomÅ
Title: Untitled Document
¾È³çÇϼ¼¿ä.
¹«ºñÀ×±Û¸®½¬ ÀÔ´Ï´Ù.
¹«ºñÀ×±Û¸®½¬´Â ¼¼°èÀûÀÎ ¿ùÆ®µðÁî´Ï»ç¿Í »ç¾÷Á¦ÈÞ·Î
¸ÖƼ¹Ìµð¾î ÅëÇÕ±â¼úÀ» ÀÌ¿ëÇÑ
ÃÖ÷´Ü µðÁöÅÐ ±³Àç·Î µ¥ÀÌÅÍ ¾ÐÃà¹æ½ÄÀÎ MPEG¸¦ ±¸ÇöÇÏ¿©
Title: Untitled Document
¾È³çÇϼ¼¿ä.
¹«ºñÀ×±Û¸®½¬ ÀÔ´Ï´Ù.
¹«ºñÀ×±Û¸®½¬´Â ¼¼°èÀûÀÎ ¿ùÆ®µðÁî´Ï»ç¿Í »ç¾÷Á¦ÈÞ·Î
¸ÖƼ¹Ìµð¾î ÅëÇÕ±â¼úÀ» ÀÌ¿ëÇÑ
ÃÖ÷´Ü µðÁöÅÐ ±³Àç·Î µ¥ÀÌÅÍ ¾ÐÃà¹æ½ÄÀÎ MPEG¸¦ ±¸ÇöÇÏ¿©