cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Download file and store in a different directory

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 10 Feb 2011 22:14:01 +0100 (CET)

On Thu, 10 Feb 2011, Lee Elcocks wrote:

> I need to download a file from server, and put the file in a different
> directory, i think this is done woth the -o command, is this correct?
>
> I.E. -o C:\test\downloadedfiles\

-o needs to specify the full target file name, not just the directory.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-02-10