This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id:
17241
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
ANDK [...] cpan.org
Requestors:
adamk [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
Important
Broken in:
1.76_01
Fixed in:
(no value)



Subject: Cannot get away with using ftp.exe -n
CPAN.pm uses ftp.exe -n to fetch data. From what I can tell this just makes it not login. Things were failing and I wasn't sure why, so I tried to use ftp -n directly on the server I got from the round-robin. This connected and then when I tried to get /pub/CPAN/MIRRORED.BY returned the following. 530 Not logged in So apparently one does need to be logged in to pull MIRRORED.BY.
The changes in rev. 465 make the "hosthardest" part much more verbose so that you do not have to second-guess what might have failed. With o debug FTP you get even much more verbosity which is only fair because this is the last ressort and after that the user has to fix things on his own, so he may be happy with more verbosity. You will now see from the verbose output that when CPAN.pm does indeed use 'ftp -n', then it also says something like open $host user anonymous $pass so it does in fact try to login. Why this fails on win would be subject to 'patches welcome'. I close this bug for now. Please reopen if you have new evidence.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.