public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] wget won't concatenate(?)
@ 2006-03-13 17:38 maxim wexler
  2006-03-13 17:51 ` Hans-Werner Hilse
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: maxim wexler @ 2006-03-13 17:38 UTC (permalink / raw
  To: gentoo-user

Hi group,

I tried wget'ing this on dialup: 
ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/releases/x86/2006.0/livecd/livecd-i686-installer-2006.0.iso

Then, because I needed to use the phone, after
downloading 150Megs or so, I ctrl-C'd outta there
thinking I could pick up where I left off. Wrong!

wget wants to start from the beginning. I gave it the
-nc option and it reports 'already there, not
retrieving'. 

What did I do wrong? I've done this before with other
files and this never happened. Maybe I used a
different tool, can't remember.

-Maxim


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] wget won't concatenate(?)
  2006-03-13 17:38 [gentoo-user] wget won't concatenate(?) maxim wexler
@ 2006-03-13 17:51 ` Hans-Werner Hilse
  2006-03-13 22:43   ` maxim wexler
  2006-03-13 17:53 ` Renat Golubchyk
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 8+ messages in thread
From: Hans-Werner Hilse @ 2006-03-13 17:51 UTC (permalink / raw
  To: gentoo-user

Hi,

On Mon, 13 Mar 2006 09:38:06 -0800 (PST) maxim wexler
<blissfix@yahoo.com> wrote:

> I tried wget'ing this on dialup: 
> ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/releases/x86/2006.0/livecd/livecd-i686-installer-2006.0.iso
> 
> Then, because I needed to use the phone, after
> downloading 150Megs or so, I ctrl-C'd outta there
> thinking I could pick up where I left off. Wrong!
> 
> wget wants to start from the beginning. I gave it the
> -nc option and it reports 'already there, not
> retrieving'. 

Did you actually bother to read what "-nc" does? In fact I think you
were searching "-c" option...

-hwh
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] wget won't concatenate(?)
  2006-03-13 17:38 [gentoo-user] wget won't concatenate(?) maxim wexler
  2006-03-13 17:51 ` Hans-Werner Hilse
@ 2006-03-13 17:53 ` Renat Golubchyk
  2006-03-13 17:57 ` Jim
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Renat Golubchyk @ 2006-03-13 17:53 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 740 bytes --]

On Mon, 13 Mar 2006 09:38:06 -0800 (PST) maxim wexler
<blissfix@yahoo.com> wrote:
> I tried wget'ing this on dialup: 
> ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/releases/x86/2006.0/livecd/livecd-i686-installer-2006.0.iso
> 
> Then, because I needed to use the phone, after
> downloading 150Megs or so, I ctrl-C'd outta there
> thinking I could pick up where I left off. Wrong!
> 
> wget wants to start from the beginning. I gave it the
> -nc option and it reports 'already there, not
> retrieving'. 

It should be "wget -c" not "-nc".


Cheers,
Renat

-- 
Probleme kann man niemals mit derselben Denkweise loesen,
durch die sie entstanden sind.
                                              (Einstein)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] wget won't concatenate(?)
  2006-03-13 17:38 [gentoo-user] wget won't concatenate(?) maxim wexler
  2006-03-13 17:51 ` Hans-Werner Hilse
  2006-03-13 17:53 ` Renat Golubchyk
@ 2006-03-13 17:57 ` Jim
  2006-03-13 18:27   ` Christoph Eckert
  2006-03-13 17:59 ` Daniel da Veiga
  2006-03-13 18:40 ` [gentoo-user] " Marc Christiansen
  4 siblings, 1 reply; 8+ messages in thread
From: Jim @ 2006-03-13 17:57 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 163609048 maxim wexler <blissfix@yahoo.com> wrote:
> Hi group,
> 
> I tried wget'ing this on dialup: 
> ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/releases/x86/2006.0/livecd/livecd-i686-installer-2006.0.iso
> 
> Then, because I needed to use the phone, after
> downloading 150Megs or so, I ctrl-C'd outta there
> thinking I could pick up where I left off. Wrong!
> 
> wget wants to start from the beginning. I gave it the
> -nc option and it reports 'already there, not
> retrieving'. 
> 
> What did I do wrong? I've done this before with other
> files and this never happened. Maybe I used a
> different tool, can't remember.
> 
> -Maxim

Use wget -c.

Example, you start to download http://www.microsoft.com/linux-kernel.iso
and your connection dies.  To continue you would use:

wget -c http://www.microsoft.com/linux-kernel.iso

Jim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEFbJ4eqJ5Vbm4CxYRAlT7AJ9O1C9ozY+YnPwQ4Z83jRAe1H2BbQCeJ0om
uzQ/XGZfHEV0WCSu11eD19E=
=NRPy
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] wget won't concatenate(?)
  2006-03-13 17:38 [gentoo-user] wget won't concatenate(?) maxim wexler
                   ` (2 preceding siblings ...)
  2006-03-13 17:57 ` Jim
@ 2006-03-13 17:59 ` Daniel da Veiga
  2006-03-13 18:40 ` [gentoo-user] " Marc Christiansen
  4 siblings, 0 replies; 8+ messages in thread
From: Daniel da Veiga @ 2006-03-13 17:59 UTC (permalink / raw
  To: gentoo-user

On 3/13/06, maxim wexler <blissfix@yahoo.com> wrote:
> Then, because I needed to use the phone, after
> downloading 150Megs or so, I ctrl-C'd outta there
> thinking I could pick up where I left off. Wrong!
>
> wget wants to start from the beginning. I gave it the
> -nc option and it reports 'already there, not
> retrieving'.
>
> What did I do wrong? I've done this before with other
> files and this never happened. Maybe I used a
> different tool, can't remember.

>From "man wget":
---------------------------------------
 -nc
       --no-clobber

(snip)

When running Wget without -N, -nc, or -r, downloading the same file in
the same directory will result in the original copy of file being
preserved and the second copy being named file.1.  If that file is
downloaded yet again, the third copy will be named file.2, and so on.

When -nc is specified, this behavior is suppressed, and Wget will
refuse to download newer copies of file.  Therefore, ``"no-clobber"''
is actually a misnomer in this mode---it's not clobbering that's
prevented (as the numeric suffixes were already preventing
clobbering), but rather the multiple version saving that's prevented.

-c
       --continue
Continue getting a partially-downloaded file.  This is useful when you
want to finish up a download started by a previous instance of Wget,
or by another program.  For instance:

wget -c ftp://sunsite.doc.ic.ac.uk/ls-lR.Z

If there is a file named ls-lR.Z in the current directory, Wget will
assume that it is the first portion of the remote file, and will ask
the server to continue the retrieval from an offset equal to the
length of the local file.
---------------------------------------

Simply try:
wget -c "ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/releases/x86/2006.0/livecd/livecd-i686-installer-2006.0.iso"

And be happy...

--
Daniel da Veiga
Computer Operator - RS - Brazil
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
------END GEEK CODE BLOCK------

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] wget won't concatenate(?)
  2006-03-13 17:57 ` Jim
@ 2006-03-13 18:27   ` Christoph Eckert
  0 siblings, 0 replies; 8+ messages in thread
From: Christoph Eckert @ 2006-03-13 18:27 UTC (permalink / raw
  To: gentoo-user


> wget -c http://www.microsoft.com/linux-kernel.iso

you can even start a download with the -c option.


Best regards


ce
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user]  Re: wget won't concatenate(?)
  2006-03-13 17:38 [gentoo-user] wget won't concatenate(?) maxim wexler
                   ` (3 preceding siblings ...)
  2006-03-13 17:59 ` Daniel da Veiga
@ 2006-03-13 18:40 ` Marc Christiansen
  4 siblings, 0 replies; 8+ messages in thread
From: Marc Christiansen @ 2006-03-13 18:40 UTC (permalink / raw
  To: gentoo-user

maxim wexler <blissfix@yahoo.com> wrote:
> Then, because I needed to use the phone, after
> downloading 150Megs or so, I ctrl-C'd outta there
> thinking I could pick up where I left off. Wrong!
> 
> wget wants to start from the beginning. I gave it the
> -nc option and it reports 'already there, not
> retrieving'. 
> 
> What did I do wrong? I've done this before with other
> files and this never happened. Maybe I used a
> different tool, can't remember.

Hi Maxim,

what you did wrong was using '-nc' when you wanted to use '-c' ;). From
wget --help:
|  -nc, --no-clobber              skip downloads that would download to
|                                 existing files.
|  -c,  --continue                resume getting a partially-downloaded file.

And why it did work before, maybe you used '-c' and just mis-remembered
the option, or you're right and it was a different tool. Who knows...

Adiaŭ, Marc

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] wget won't concatenate(?)
  2006-03-13 17:51 ` Hans-Werner Hilse
@ 2006-03-13 22:43   ` maxim wexler
  0 siblings, 0 replies; 8+ messages in thread
From: maxim wexler @ 2006-03-13 22:43 UTC (permalink / raw
  To: gentoo-user



--- Hans-Werner Hilse <hilse@web.de> wrote:

> Hi,
> 
> On Mon, 13 Mar 2006 09:38:06 -0800 (PST) maxim
> wexler
> <blissfix@yahoo.com> wrote:
> 
> > I tried wget'ing this on dialup: 
> >
>
ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/releases/x86/2006.0/livecd/livecd-i686-installer-2006.0.iso
> > 
> > Then, because I needed to use the phone, after
> > downloading 150Megs or so, I ctrl-C'd outta there
> > thinking I could pick up where I left off. Wrong!
> > 
> > wget wants to start from the beginning. I gave it
> the
> > -nc option and it reports 'already there, not
> > retrieving'. 
> 
> Did you actually bother to read what "-nc" does? In
> fact I think you
> were searching "-c" option...


Dang! Your right. -nc seemed like the option to use.
Not getting Clobbered is important to me. Sorry you
had to descend Olympus to deal with such a trifle. In
my defense I can only say I was overcome with an
excess of zeal to advance the gentoo project
and...aren't -nc and -c out of order?


> 
> -hwh
> -- 
> gentoo-user@gentoo.org mailing list
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-03-13 22:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-13 17:38 [gentoo-user] wget won't concatenate(?) maxim wexler
2006-03-13 17:51 ` Hans-Werner Hilse
2006-03-13 22:43   ` maxim wexler
2006-03-13 17:53 ` Renat Golubchyk
2006-03-13 17:57 ` Jim
2006-03-13 18:27   ` Christoph Eckert
2006-03-13 17:59 ` Daniel da Veiga
2006-03-13 18:40 ` [gentoo-user] " Marc Christiansen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox