cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl 7.7.1, resume/continue command

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 7 May 2001 08:37:26 +0200 (MET DST)

On Fri, 4 May 2001, John Spicer wrote:

> [1] I am mostly interested in resumable downloads right now, and I HAVE
> managed to make it work, thus:
>
> step 1:
>
> ./curl -o 3d-klondkie-10a.hqx
> ftp://mirrors.aol.com/pub/info-mac/game/3d-klondike-10a.hqx
>
> then to resume, step 2:
>
> ./curl -c -o /Users/dragon/3d-klondike-10a.hqx
> ftp://mirrors.aol.com/pub/info-mac/game/3d-klondike-10a.hqx
>
> however, it does whine with this error message: "-c is a deprecated
> switch, use '-C -' instead!"
>
> I've tried using the capped C, but I can't make it go. Any ideas?

Notice the exact wording. You need to replace "-c" with "-C -".

Your command should thus instead look like:

 curl -C - -o /Users/dragon/3d-klondike-10a.hqx \
 ftp://mirrors.aol.com/pub/info-mac/game/3d-klondike-10a.hqx

(The only reason -c is being deprecated is that we need to free some single
letter options.)

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
_______________________________________________
Curl-library mailing list
Curl-library_at_lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/curl-library
Received on 2001-05-07