Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.unix.shell > #871
| From | Uno <Uno@example.invalid> |
|---|---|
| Newsgroups | comp.unix.shell |
| Subject | Re: cmp |
| Date | 2011-06-07 22:38 -0600 |
| Message-ID | <958cmkFs5mU1@mid.individual.net> (permalink) |
| References | <94mfhcFngqU1@mid.individual.net> <slrniuf4u1.dhq.hjp-usenet2@hrunkner.hjp.at> <SJmdnS35VN9hm3TQnZ2dnUVZ_uadnZ2d@posted.nuvoxcommunications> <slrniujr7d.eni.hjp-usenet2@hrunkner.hjp.at> |
On 06/04/2011 02:29 AM, Peter J. Holzer wrote:
> See<slrniufdoj.dhq.hjp-usenet2@hrunkner.hjp.at> (written almost 24
> hours before your posting).
I have it better-isolated now:
[sorry, can only paste as quotation]
> $ ls -l
> -rw-r--r-- 1 dan dan 19573258 2011-06-07 22:14 downloaded1.wmv
> -rw-r--r-- 1 dan dan 19573712 2011-06-05 17:32 shoulder.wmv
> -rw-r--r-- 1 dan dan 511 2011-06-07 22:07 upload1.pl
> shoulder.wmv downloaded1.wmv differ: byte 196502, line 1409
> $ cmp -l -n 196560 shoulder.wmv downloaded1.wmv
> 196502 15 12
> 196503 12 172
> 196504 172 271
> 196505 271 161
> 196506 161 123
> 196507 123 152
> 196508 152 225
> 196509 225 256
> 196510 256 115
> 196511 115 145
> 196513 145 102
> 196514 102 237
> 196515 237 7
> 196516 7 372
> 196517 372 301
> 196518 301 375
> 196519 375 64
> 196520 64 103
> 196521 103 206
> 196522 206 47
> 196523 47 67
> 196524 67 242
> 196525 242 50
> 196526 50 21
> 196527 21 246
> 196528 246 250
> 196529 250 154
> 196530 154 0
> 196531 0 300
> 196532 300 223
> 196533 223 332
> 196534 332 375
> 196535 375 134
> 196536 134 70
> 196537 70 55
> 196538 55 315
> 196539 315 20
> 196540 20 41
> 196541 41 40
> 196542 40 37
> 196543 37 330
> 196544 330 31
> 196545 31 3
> 196546 3 157
> 196547 157 300
> 196548 300 52
> 196549 52 346
> 196550 346 263
> 196551 263 40
> 196552 40 143
> 196554 143 222
> 196555 222 353
> 196556 353 101
> 196557 101 72
> 196558 72 245
> 196559 245 13
> 196560 13 116
> $
Can someone speculate what happened to the 196,502nd byte?
> $ cat upload1.pl
> #!/usr/bin/perl -w
> use strict;
> use Net::FTP;
> my $domain = 'www.merrillpjensen.com';
> my $username = 'u61210220';
> my $password = '';
> my $file = 'shoulder.wmv';
> my $file2 = 'downloaded1.wmv';
>
> my $ftp = Net::FTP->new($domain, Debug=>1, Passive=>1) or die "Can't connect: $@\n";
> $ftp->login($username, $password) or die "Couldn't login\n";
>
> $ftp->cwd('/vids/') or die "death $@\n";
> $ftp->put($file) or die "put failed ", $ftp->message;
> $ftp->get($file, $file2) or die "put failed ", $ftp->message;
>
> $
--
Uno
Back to comp.unix.shell | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
variable-length strings Uno <Uno@example.invalid> - 2011-06-01 03:36 -0600
Re: variable-length strings ccc31807 <cartercc@gmail.com> - 2011-06-01 07:13 -0700
Re: variable-length strings Uno <Uno@example.invalid> - 2011-06-02 10:54 -0600
Re: variable-length strings "George Mpouras" <nospam.gravitalsun@hotmail.com.nospam> - 2011-06-01 17:01 +0300
Re: variable-length strings "Peter J. Holzer" <hjp-usenet2@hjp.at> - 2011-06-02 15:33 +0200
Re: variable-length strings "Peter J. Holzer" <hjp-usenet2@hjp.at> - 2011-06-02 15:44 +0200
Re: variable-length strings Willem <willem@toad.stack.nl> - 2011-06-02 14:19 +0000
cmp (was: variable-length strings) "Peter J. Holzer" <hjp-usenet2@hjp.at> - 2011-06-02 18:15 +0200
Re: variable-length strings Uno <Uno@example.invalid> - 2011-06-03 23:21 -0600
Re: variable-length strings "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2011-06-04 02:43 -0400
Re: variable-length strings bonomi@host122.r-bonomi.com (Robert Bonomi) - 2011-06-03 11:08 -0500
Re: variable-length strings Uno <Uno@example.invalid> - 2011-06-04 00:03 -0600
Re: variable-length strings pacman@kosh.dhis.org (Alan Curry) - 2011-06-04 20:18 +0000
Re: variable-length strings Uno <Uno@example.invalid> - 2011-06-07 23:00 -0600
cmp (was: variable-length strings) "Peter J. Holzer" <hjp-usenet2@hjp.at> - 2011-06-04 10:29 +0200
Re: cmp Uno <Uno@example.invalid> - 2011-06-07 22:38 -0600
Re: cmp pacman@kosh.dhis.org (Alan Curry) - 2011-06-08 05:22 +0000
Re: cmp Uno <Uno@example.invalid> - 2011-06-09 16:10 -0600
Re: variable-length strings Uno <Uno@example.invalid> - 2011-06-03 22:58 -0600
bdiff (was: variable-length strings) "Peter J. Holzer" <hjp-usenet2@hjp.at> - 2011-06-04 10:52 +0200
Re: bdiff Uno <Uno@example.invalid> - 2011-06-08 21:59 -0600
Re: bdiff Ian Collins <ian-news@hotmail.com> - 2011-06-09 16:08 +1200
Re: bdiff Uno <Uno@example.invalid> - 2011-06-08 22:20 -0600
Re: bdiff Uno <Uno@example.invalid> - 2011-06-09 02:57 -0600
Re: bdiff Janis Papanagnou <janis_papanagnou@hotmail.com> - 2011-06-09 11:10 +0200
Re: bdiff bonomi@host122.r-bonomi.com (Robert Bonomi) - 2011-06-19 06:10 -0500
Re: bdiff Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-06-09 07:13 -0400
Re: bdiff Uno <Uno@example.invalid> - 2011-06-09 13:30 -0600
Re: variable-length strings Uno <Uno@example.invalid> - 2011-06-03 23:11 -0600
Re: variable-length strings "Peter J. Holzer" <hjp-usenet2@hjp.at> - 2011-06-04 10:55 +0200
csiph-web