Re: [gentoo-user] checksumming files

2008-12-07 Thread Neil Bothwick
On Sun, 7 Dec 2008 17:56:07 +, Mick wrote: > > rsync --append-verify big_file server_name:/htdocs// > > status=$? > Wouldn't the server need to have rsyncd running to be able to do that? > Can I rsync to an ftp server? Also, how would I pass username/passwd > on the command line so that the

Re: [gentoo-user] checksumming files

2008-12-07 Thread Mick
On Sunday 07 December 2008, Albert Hopkins wrote: > On Sun, 2008-12-07 at 15:39 +, Mick wrote: > > They are the the split files which I concatenate into the complete file. > > Well, unless you made another error in your OP, you are using md5sum > incorrectly. When you use "-c", md5sum expects

Re: [gentoo-user] checksumming files

2008-12-07 Thread Albert Hopkins
On Sun, 2008-12-07 at 15:39 +, Mick wrote: > On Friday 05 December 2008, Albert Hopkins wrote: > > On Thu, 2008-12-04 at 07:10 +, Mick wrote: > > > Almost every time I split a large file >1G into say 200k chunks, then ftp > > > it to a server and then: > > > > That's thousands of files! Ha

Re: [gentoo-user] checksumming files

2008-12-07 Thread Mick
On Friday 05 December 2008, Albert Hopkins wrote: > On Thu, 2008-12-04 at 07:10 +, Mick wrote: > > Almost every time I split a large file >1G into say 200k chunks, then ftp > > it to a server and then: > > That's thousands of files! Have you gone mad?! Ha! small error in units . . . it is 200

Re: [gentoo-user] checksumming files

2008-12-06 Thread Dirk Heinrichs
Am Freitag, 5. Dezember 2008 19:48:18 schrieb Mick: > On Thursday 04 December 2008, Heinrichs, Dirk (EXT-Capgemini - > DE/Dusseldorf) > > wrote: > > Did you make sure the chunks are transfered in binary mode? > > Aha!! Since the split chunks were part of a video file I assumed that it > would be bi

Re: [gentoo-user] checksumming files

2008-12-05 Thread Albert Hopkins
On Thu, 2008-12-04 at 07:10 +, Mick wrote: > Almost every time I split a large file >1G into say 200k chunks, then ftp it > to a server and then: That's thousands of files! Have you gone mad?! > > cat 1 2 3 4 5 6 7 > completefile ; md5sum -c completefile > if fails. Checking the split f

Re: [gentoo-user] checksumming files

2008-12-05 Thread Paul Hartman
On Thu, Dec 4, 2008 at 1:10 AM, Mick <[EMAIL PROTECTED]> wrote: > Almost every time I split a large file >1G into say 200k chunks, then ftp it > to a server and then: > > cat 1 2 3 4 5 6 7 > completefile ; md5sum -c completefile > > if fails. Checking the split files in turn I often find 1 or two

Re: [gentoo-user] checksumming files

2008-12-05 Thread Mick
On Thursday 04 December 2008, Heinrichs, Dirk (EXT-Capgemini - DE/Dusseldorf) wrote: > Did you make sure the chunks are transfered in binary mode? Aha!! Since the split chunks were part of a video file I assumed that it would be binary - and I understand that the default type (for tnftp) is bi

Re: [gentoo-user] checksumming files

2008-12-04 Thread Neil Bothwick
On Thu, 4 Dec 2008 07:10:06 +, Mick wrote: > Despite that the concatenated file often works > (e.g. if it is a video file it'll play alright). > > Can you explain this? Should I be using a different check to verify > the integrity of the ftp'd file? An MD5 check will fail if one bit is cha

Re: [gentoo-user] checksumming files

2008-12-03 Thread Heinrichs, Dirk (EXT-Capgemini - DE/Dusseldorf)
Am Donnerstag, den 04.12.2008, 07:10 + schrieb ext Mick: > Almost every time I split a large file >1G into say 200k chunks, then ftp it > to a server and then: > > cat 1 2 3 4 5 6 7 > completefile ; md5sum -c completefile > > if fails. Checking the split files in turn I often find 1 or two