Hello. Thanks for your work on wget! I am building an embedded system based on Linux which uses wget. I have discovered a small bug in wget, and have fixed it for my own system. I thought I should notify you in case you want to fix this for the next version. It's really not a big deal, and you might decide that the bug is in the way I am using wget. So here's the issue: Because the variable "opt.ftp_pass" is set to zero in init.c, the function getftp() in ftp.c always calls ftp_getaddress() to obtain a password for anonymous logins, even if the ftp URL contains a username and password. This is a problem on our embedded system, which has no real concept of a user. ftp_getaddress always printed "Cannot determine user-id" and exited. My "fix" is to set opt.ftp_pass to a dummy string (like "[EMAIL PROTECTED]") in init.c so the ftp_getaddress call will be skipped. Perhaps you think a better fix would be to give my embedded system a concept of a userid. Maybe... but it seems wrong for wget to always call ftp_getaddress() even when the ftp username and password are supplied in the url. So, do whatever you think is best, I thought I would let you know. Thanks again. Torrey Hoffman [EMAIL PROTECTED] [EMAIL PROTECTED]
