Gentoo Archives: gentoo-user

From: "Heinrichs
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] checksumming files
Date: Thu, 04 Dec 2008 07:21:29
Message-Id: 1228375278.15801.15.camel@mymachine
In Reply to: [gentoo-user] checksumming files by Mick
1 Am Donnerstag, den 04.12.2008, 07:10 +0000 schrieb ext Mick:
2 > Almost every time I split a large file >1G into say 200k chunks, then ftp it
3 > to a server and then:
4 >
5 > cat 1 2 3 4 5 6 7 > completefile ; md5sum -c completefile
6 >
7 > if fails. Checking the split files in turn I often find 1 or two chunks that
8 > fail on their own md5 checks. Despite that the concatenated file often works
9 > (e.g. if it is a video file it'll play alright).
10 >
11 > Can you explain this? Should I be using a different check to verify the
12 > integrity of the ftp'd file?
13
14 Did you make sure the chunks are transfered in binary mode? BTW, most
15 modern FTP clients have a resume option, so there's no need to split.
16
17 HTH...
18
19 Dirk
20 --
21 Dirk Heinrichs | Tel: +49 (0)162 234 3408
22 Configuration Manager | Fax: +49 (0)211 47068 111
23 Capgemini Deutschland | Mail: dirk.heinrichs@×××××××××.com
24 Wanheimerstraße 68 | Web: http://www.capgemini.com
25 D-40468 Düsseldorf | ICQ#: 110037733
26 GPG Public Key C2E467BB | Keyserver: www.keyserver.net

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] checksumming files Mick <michaelkintzios@×××××.com>