Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25060 - -g fails because ftp server wont return size info in ASCII mode
Summary: -g fails because ftp server wont return size info in ASCII mode
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-22 08:58 UTC by SpanKY
Modified: 2011-10-30 22:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2003-07-22 08:58:23 UTC
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.
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-07-22 16:56:13 UTC
Just out of curiousity... What kind of server gave this response?
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2003-07-22 17:02:53 UTC
Added to cvs for _pre14
Comment 3 SpanKY gentoo-dev 2003-07-22 20:55:30 UTC
oftpd ... 
you can test it out on wh0rd.ro, i run pkgdir on there for my routers