in make_ftp_request, the first cmd run is: if (rest != None) and (rest < 0): rest = conn.size(address)+int(rest) and then a conn.voidcmd("TYPE I") is run ... however, when trying to get metadata size info, this fails: root@home 0 / # emerge libgd -gK Fetching binary packages info... * No password provided for username 'anonymous' !!! Failed to get all metadata: 550 Size cannot be determined in ASCII mode.
Just out of curiousity... What kind of server gave this response?
Added to cvs for _pre14
oftpd ... you can test it out on wh0rd.ro, i run pkgdir on there for my routers