develooper Front page | perl.perl5.porters | Postings from July 2019

Re: "Damaged tar archive" for perl-5.32.2 on ftp callsfromCPANmirrors

Thread Previous | Thread Next
From:
Niko Tyni
Date:
July 25, 2019 14:24
Subject:
Re: "Damaged tar archive" for perl-5.32.2 on ftp callsfromCPANmirrors
Message ID:
20190725142412.GA14794@estella.local.invalid
On Thu, Jul 25, 2019 at 11:18:03PM +1000, sisyphus wrote:

> Using Net::FTP to download a perl source tarball from mirrors.rit.edu
> delivers a corrupt file:

> Net::FTP=GLOB(0x801524150)<<< 220 Welcome to mirrors.rit.edu.
> Net::FTP=GLOB(0x801524150)>>> TYPE I
> Net::FTP=GLOB(0x801524150)<<< 530 Please login with USER and PASS.

Looks like you're setting binary mode too early and you need to login first.
-- 
Niko Tyni   ntyni@debian.org

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About