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

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

Thread Previous
From:
Tony Cook
Date:
July 22, 2019 06:24
Subject:
Re: "Damaged tar archive" for perl-5.32.2 on ftp calls fromCPANmirrors
Message ID:
20190722062336.jv43bggr6xvbaz26@mars.tony.develop-help.com
On Mon, Jul 22, 2019 at 04:07:00PM +1000, sisyphus wrote:
> >From mirrors.rit.edu, I can't get a valid file via Net::FTP for either
> perl-5.31.2.tar.gz or perl-5.31.1.tar.gz.
> But, using the same perl script, I do get a valid perl-5.31.1.tar.gz from
> ftp.funet.fi.

It might be a Net::FTP issue:

tony@mars:~/src$ ftp mirrors.rit.edu
Connected to smoke.rc.rit.edu.
220 Welcome to mirrors.rit.edu.
Name (mirrors.rit.edu:tony): anonymous
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd pub
250 Directory successfully changed.
ftp> cd CPAN/src/5.0
250 Directory successfully changed.
ftp> bin
200 Switching to Binary mode.
ftp> get perl-5.31.2.tar.gz
local: perl-5.31.2.tar.gz remote: perl-5.31.2.tar.gz
200 EPRT command successful. Consider using EPSV.
150 Opening BINARY mode data connection for perl-5.31.2.tar.gz (17631507 bytes).
226 Transfer complete.
17631507 bytes received in 5.33 secs (3.1569 MB/s)
ftp> !sha256sum perl-5.31.2.tar.gz
4047199a79bf793e1f245e20fe7eb25f3c76969a475634613b152c5969826d01  perl-5.31.2.tar.gz
ftp> ls perl-5.31.2.tar.gz.*
200 EPRT command successful. Consider using EPSV.
150 Here comes the directory listing.
-rw-r--r--    1 1003     1003           32 Jul 20 20:20 perl-5.31.2.tar.gz.md5.txt
-rw-r--r--    1 1003     1003           40 Jul 20 20:20 perl-5.31.2.tar.gz.sha1.txt
-rw-r--r--    1 1003     1003           64 Jul 20 20:20 perl-5.31.2.tar.gz.sha256.txt
226 Directory send OK.
ftp> get perl-5.31.2.tar.gz.sha256.txt
local: perl-5.31.2.tar.gz.sha256.txt remote: perl-5.31.2.tar.gz.sha256.txt
200 EPRT command successful. Consider using EPSV.
150 Opening BINARY mode data connection for perl-5.31.2.tar.gz.sha256.txt (64 bytes).
226 Transfer complete.
64 bytes received in 0.01 secs (9.9191 kB/s)
ftp> !cat perl-5.31.2.tar.gz.sha256.txt
4047199a79bf793e1f245e20fe7eb25f3c76969a475634613b152c5969826d01ftp> 

Tony

Thread Previous


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